[−][src]Function filetime::set_file_times
pub fn set_file_times<P>(p: P, atime: FileTime, mtime: FileTime) -> Result<()> where
P: AsRef<Path>,
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.