Function filetime::set_file_times
source · Expand description
Set the last access and modification times for a file on the filesystem.
This function will set the atime
and mtime
metadata fields for a file
on the local filesystem, returning any error encountered.