Function std::fs::set_file_times
[−]
[src]
pub fn set_file_times<P: AsRef<Path>>(path: P, accessed: u64, modified: u64) -> Result<()>
: the argument type of u64 is not quite appropriate for this function and may change if the standard library gains a type to represent a moment in time
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 milliseconds.