Function utime::set_file_times [] [src]

pub fn set_file_times<P: AsRef<Path>>(path: P, accessed: u64, modified: u64) -> Result<()>

Changes the timestamps for a file's last modification and access time.

The file at the path specified will have its last access time set to accessed and its modification time set to modified. The times specified should be in seconds.