fix: pass file created timestamp

This commit is contained in:
Rafael Bodill 2024-05-01 16:35:49 +03:00
parent 3a09155328
commit ddfe885e20

View file

@ -61,8 +61,7 @@ impl From<Metadata> for Cha {
kind: ck,
len: m.len(),
accessed: m.accessed().ok(),
// TODO: remove this once https://github.com/rust-lang/rust/issues/108277 is fixed.
created: None,
created: m.created().ok(),
modified: m.modified().ok(),
#[cfg(unix)]