diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-01-03 06:36:33 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-01-03 06:36:33 -0600 |
| commit | 7a72e3f54d48f29517d7961590d418b1c60dfeaa (patch) | |
| tree | 7bc501f900826bfae9bbbcb1a8c67efee3c32929 /src/fuse/io.rs | |
| parent | bf07291c069028d84b242222d1f89de5e673e636 (diff) | |
Fix ctime which is change (not creation) time
Diffstat (limited to '')
| -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 f3dc5b1..fe2fb36 100644 --- a/src/fuse/io.rs +++ b/src/fuse/io.rs @@ -246,14 +246,14 @@ impl Attrs { } #[must_use] - pub fn times(self, access: Timestamp, modify: Timestamp, create: Timestamp) -> Self { + pub fn times(self, access: Timestamp, modify: Timestamp, change: Timestamp) -> Self { Attrs(proto::Attrs { atime: access.seconds, mtime: modify.seconds, - ctime: create.seconds, + ctime: change.seconds, atimensec: access.nanoseconds, mtimensec: modify.nanoseconds, - ctimensec: create.nanoseconds, + ctimensec: change.nanoseconds, ..self.0 }) } |
