From 3f07297b0f4372e234ffe2b8bccc46312e9b68f8 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 8 Jan 2022 07:46:54 -0600 Subject: Move Ino, Ttl, Timestamp to crate::io --- examples/ext2.rs | 4 ++-- examples/passthrough.rs | 19 +++++++++++-------- 2 files changed, 13 insertions(+), 10 deletions(-) (limited to 'examples') 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; -- cgit v1.2.3