Function file_with_meta::mtime_to_unix [−][src]
pub fn mtime_to_unix(metadata: &Metadata) -> u64
Expand description
Unwrap a fs::Metadata
object’s last modified timestamp,
assume it may be converted to a Unix timestamp, and return
the number of seconds since the Unix epoch.