pub fn set_file_ctime<P>(p: P, ctime: FileTime) -> Result<()>
where P: AsRef<Path>,
Expand description

Set the creation time for a file on Windows, returning any error encountered.

§Platform support

This function is only supported on Windows, other platforms will do nothing and return Err.