[−][src]Function wasi::path_filestat_set_times
pub unsafe fn path_filestat_set_times(
fd: Fd,
flags: Lookupflags,
path: &str,
atim: Timestamp,
mtim: Timestamp,
fst_flags: Fstflags
) -> Result<()>
Adjust the timestamps of a file or directory.
Note: This is similar to utimensat in POSIX.
Parameters
flags- Flags determining the method of how the path is resolved.path- The path of the file or directory to operate on.atim- The desired values of the data access timestamp.mtim- The desired values of the data modification timestamp.fst_flags- A bitmask indicating which timestamps to adjust.