pub fn set_symlink_file_times<P>(
    p: P,
    atime: FileTime,
    mtime: FileTime
) -> Result<()>
where P: AsRef<Path>,
Expand description

Set the last access and modification times for a file on the filesystem. This function does not follow symlink.

This function will set the atime and mtime metadata fields for a file on the local filesystem, returning any error encountered.