cap_primitives::fs

Function set_times_nofollow

source
pub fn set_times_nofollow(
    start: &File,
    path: &Path,
    atime: Option<SystemTimeSpec>,
    mtime: Option<SystemTimeSpec>,
) -> Result<()>
Expand description

Like set_times, but never follows symlinks.