Function filetime::set_symlink_file_times [] [src]

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

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.