Function fs_set_times::set_mtime[][src]

pub fn set_mtime<P: AsRef<Path>>(path: P, mtime: SystemTimeSpec) -> Result<()>

Set the last modification timestamp of a file or other filesystem object.