Method lrs::file::File::set_times

Changes the access and modification times of the file.

Syntax

impl File {
    fn set_times(&self, access: TimeChange, modification: TimeChange) -> Result<(), Errno>
}

Arguments

NameDescription
access

The new access time.

modification

The new modification time.

See also