pub(crate) fn last_modified_from_file(
_path: &Path,
file: &File,
) -> Option<Timestamp>
Expand description
Returns the last modified time for the given file as a Jiff timestamp.
If there was a problem accessing the last modified time or if it could not
fit in a Jiff timestamp, then a warning message is logged and None
is
returned.
The path given should be the path to the given file. It is used for diagnostic purposes.