Skip to main content

set_mtime

Function set_mtime 

Source
pub fn set_mtime(path: &Path, mtime: FileTime) -> Result<()>
Expand description

Set the modification time of path (symlinks are followed; use set_symlink_mtime for the link itself).

ยงErrors

Returns an error if the time cannot be set.