pub fn mtime_of(meta: &Metadata) -> i64Expand description
The modification time of meta, in nanoseconds since the epoch.
Nanoseconds rather than seconds, and the difference matters: at one-second resolution a file rewritten within the same second at the same length would be taken for unchanged, and on a fast machine that is not a rare event but an ordinary one. At nanosecond resolution the window closes to whatever the filesystem’s timestamp granularity actually is.