summaryrefslogtreecommitdiff
path: root/examples/passthrough.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/passthrough.rs')
-rw-r--r--examples/passthrough.rs19
1 files changed, 11 insertions, 8 deletions
diff --git a/examples/passthrough.rs b/examples/passthrough.rs
index 2837d81..214bae7 100644
--- a/examples/passthrough.rs
+++ b/examples/passthrough.rs
@@ -11,20 +11,23 @@ use std::{
path::{Path, PathBuf},
};
-use blown_fuse::{
- io::{Attrs, Entry, EntryType, FsyncFlags, Gid, Known, Mode, OpenFlags, Stat, Uid},
- mount::mount_sync,
- ops,
- session::{Dispatch, Start},
- Done, Errno, FuseResult, Ino, Op, Timestamp, Ttl,
-};
-
use tokio::{
fs::{self, DirEntry, File, OpenOptions},
io::{AsyncReadExt, AsyncSeekExt, AsyncWriteExt},
runtime::Runtime,
};
+use blown_fuse::{
+ io::{
+ Attrs, Entry, EntryType, FsyncFlags, Gid, Ino, Known, Mode, OpenFlags, Stat, Timestamp,
+ Ttl, Uid,
+ },
+ mount::mount_sync,
+ ops,
+ session::{Dispatch, Start},
+ Done, Errno, FuseResult, Op,
+};
+
use clap::{App, Arg};
use nix::unistd::mkdir;