summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/ext2.rs4
-rw-r--r--examples/passthrough.rs19
2 files changed, 13 insertions, 10 deletions
diff --git a/examples/ext2.rs b/examples/ext2.rs
index cceea76..da60a1e 100644
--- a/examples/ext2.rs
+++ b/examples/ext2.rs
@@ -23,11 +23,11 @@ use std::{
};
use blown_fuse::{
- io::{Attrs, Entry, EntryType, FsInfo, Gid, Known, Mode, Stat, Uid},
+ io::{Attrs, Entry, EntryType, FsInfo, Gid, Ino, Known, Mode, Stat, Ttl, Uid},
mount::{mount_sync, Options},
ops,
session::{Dispatch, Start},
- Done, Errno, FuseResult, Ino, Op, Ttl,
+ Done, Errno, FuseResult, Op,
};
use bytemuck::{cast_slice, from_bytes, try_from_bytes};
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;