Function virtual_fs::ops::touch

source ·
pub fn touch<F>(fs: &F, path: impl AsRef<Path> + Send) -> Result<(), FsError>
where F: FileSystem + ?Sized,
Expand description

Update a file’s modification and access times, creating the file if it doesn’t already exist.