Function otter_api_tests::crates::otter_support::crates::nix::sys::stat::lutimes
[−]pub fn lutimes<P>(
path: &P,
atime: &TimeVal,
mtime: &TimeVal
) -> Result<(), Errno> where
P: NixPath + ?Sized,
Expand description
Change the access and modification times of a file without following symlinks.
lutimes(path, times)
is identical to
utimensat(None, path, times, UtimensatFlags::NoFollowSymlink)
. The former
is a deprecated API so prefer using the latter if the platforms you care
about support it.