summaryrefslogtreecommitdiff
path: root/examples/passthrough.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-08 07:46:54 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-08 07:46:54 -0600
commit3f07297b0f4372e234ffe2b8bccc46312e9b68f8 (patch)
treeef4ceabf82e81c679b7be85d1b527e6a63ee0037 /examples/passthrough.rs
parentfffebe5facf7b88c89c7aaa9385aa845f161e6f1 (diff)
Move Ino, Ttl, Timestamp to crate::io
Diffstat (limited to '')
-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;