Function fs_set_times::set_mtime
source · [−]pub fn set_mtime<P: AsRef<Path>>(path: P, mtime: SystemTimeSpec) -> Result<()>
Expand description
Set the last modification timestamp of a file or other filesystem object.
pub fn set_mtime<P: AsRef<Path>>(path: P, mtime: SystemTimeSpec) -> Result<()>
Set the last modification timestamp of a file or other filesystem object.