Function std::fs::set_file_timesUnstable [-] [+] [src]

pub fn set_file_times<P: AsPath + ?Sized>(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 atime and its modification time set to mtime. The times specified should be in milliseconds.