Expand description

fs-set-times provides functions to set timestamps on files, directories, and other filesystem objects.

On Windows, modifying a file’s timestamp requires write access to the file.

Enums

A value for specifying a time.

Traits

An extension trait for std::fs::File, cap_std::fs::File, and similar types.

Functions

Set the last access timestamp of a file or other filesystem object.

Set the last modification timestamp of a file or other filesystem object.

Like set_times, but never follows symlinks.

Set the last access and last modification timestamps of a file or other filesystem object.