summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-12-12 07:51:58 +0200
committerLars Wirzenius <liw@liw.fi>2020-12-12 07:51:58 +0200
commit3542e279e0752b81addb7a84b9ba8224e3145666 (patch)
treeb8c7acfdcf72f5bc8af55b8f783498b76a3f31b4 /src
parent0de578682090b1a8f170530572c8f68347d2b3e6 (diff)
downloadsummain-rs-3542e279e0752b81addb7a84b9ba8224e3145666.tar.gz
feat! drop atime from the output
Obnam2, which is what this tool is primarily written for, doesn't deal with atime, at least for now.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9f46f54..fee2a96 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -22,8 +22,6 @@
//!
//! ~~~yaml
//! path: "."
-//! atime: 1606565868
-//! atime_nsec: 824368155
//! mode: drwxrwxr-x
//! mtime: 1606565867
//! mtime_nsec: 500355545
@@ -45,8 +43,6 @@ const BUF_SIZE: usize = 1024 * 1024;
#[derive(Serialize, Debug)]
pub struct ManifestEntry {
path: PathBuf,
- atime: i64,
- atime_nsec: i64,
#[serde(with = "mode")]
mode: u32,
mtime: i64,
@@ -72,8 +68,6 @@ impl ManifestEntry {
};
Ok(Self {
path: path.to_path_buf(),
- atime: m.st_atime(),
- atime_nsec: m.st_atime_nsec(),
mode: m.st_mode(),
mtime: m.st_mtime(),
mtime_nsec: m.st_mtime_nsec(),