[−][src]Function cap_primitives::fs::set_times
pub fn set_times(
start: &File,
path: &Path,
atime: Option<SystemTimeSpec>,
mtime: Option<SystemTimeSpec>
) -> Result<()>
Perform a utimensat
-like operation, ensuring that the resolution of the path
never escapes the directory tree rooted at start
. This function follows
symlinks.