cap_primitives/fs/
set_times.rsuse crate::fs::{set_times_impl, set_times_nofollow_impl, SystemTimeSpec};
use std::path::Path;
use std::{fs, io};
#[inline]
pub fn set_times(
start: &fs::File,
path: &Path,
atime: Option<SystemTimeSpec>,
mtime: Option<SystemTimeSpec>,
) -> io::Result<()> {
set_times_impl(start, path, atime, mtime)
}
#[inline]
pub fn set_times_nofollow(
start: &fs::File,
path: &Path,
atime: Option<SystemTimeSpec>,
mtime: Option<SystemTimeSpec>,
) -> io::Result<()> {
set_times_nofollow_impl(start, path, atime, mtime)
}