fs_set_times/
lib.rs

1//! `fs-set-times` provides functions to set timestamps on files, directories,
2//! and other filesystem objects.
3//!
4//! On Windows, modifying a file's timestamp requires write access to the file.
5
6#![deny(missing_docs)]
7#![cfg_attr(target_os = "wasi", feature(wasi_ext))]
8#![cfg_attr(not(windows), forbid(unsafe_code))]
9
10mod set_times;
11mod system_time_spec;
12
13pub use set_times::{set_atime, set_mtime, set_symlink_times, set_times, SetTimes};
14pub use system_time_spec::SystemTimeSpec;