Trait std::os::macos::fs::FileTimesExt

source ·
pub trait FileTimesExt: Sealed {
    // Required method
    fn set_created(self, t: SystemTime) -> Self;
}
🔬This is a nightly-only experimental API. (file_set_times #98245)
Expand description

OS-specific extensions to fs::FileTimes.

Required Methods§

source

fn set_created(self, t: SystemTime) -> Self

🔬This is a nightly-only experimental API. (file_set_times #98245)

Set the creation time of a file.

Implementors§