diff options
| author | Alejandro Soto <alejandro@34project.org> | 2021-12-28 22:01:37 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2021-12-28 22:01:37 -0600 |
| commit | 982b2d03231b3e5abfb94445b1dec981000ffb17 (patch) | |
| tree | 1399424bf73af43e5f58ed293e5a2fe8cdb03073 /src/fuse/io.rs | |
| parent | 61325f2daae42cb349e6f7612c6c6bb88c3f942d (diff) | |
Rename TimeToLive as Ttl
Diffstat (limited to 'src/fuse/io.rs')
| -rw-r--r-- | src/fuse/io.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fuse/io.rs b/src/fuse/io.rs index 823eb76..e3938d6 100644 --- a/src/fuse/io.rs +++ b/src/fuse/io.rs @@ -7,7 +7,7 @@ use std::{ ops::{ControlFlow, FromResidual, Try}, }; -use crate::{proto, FuseResult, Ino, TimeToLive, Timestamp}; +use crate::{proto, FuseResult, Ino, Ttl, Timestamp}; use super::{Done, Operation, Reply, Request}; @@ -26,7 +26,7 @@ pub enum Interruptible<'o, O: Operation<'o>, T> { pub trait Known { fn ino(&self) -> Ino; fn inode_type(&self) -> EntryType; - fn attrs(&self) -> (Attrs, TimeToLive); + fn attrs(&self) -> (Attrs, Ttl); fn unveil(self); } @@ -37,7 +37,7 @@ pub struct Entry<N, K> { pub offset: u64, pub name: N, pub inode: K, - pub ttl: TimeToLive, + pub ttl: Ttl, } pub struct FsInfo(proto::StatfsOut); |
