Skip to main content

get_mtime

Function get_mtime 

Source
pub fn get_mtime(path: impl AsRef<Path>) -> Result<Option<Time>>
Available on crate feature fs only.
Expand description

Get the modified time for a file.

If the file doesn’t exist, None is returned