[][src]Function cap_primitives::fs::set_times

pub fn set_times(
    start: &File,
    path: &Path,
    atime: Option<SystemTimeSpec>,
    mtime: Option<SystemTimeSpec>,
    follow: FollowSymlinks
) -> Result<()>

Perform a utimensat-like operation, ensuring that the resolution of the path never escapes the directory tree rooted at start.