Method lrs::file::File::rel_set_times_no_follow

Changes the access and modification times of a file pointed to by a path relative to this file without following symlinks.

Syntax

impl File {
    fn rel_set_times_no_follow<P>(&self, path: P, access: TimeChange, modification: TimeChange) -> Result<(), Errno>
        where P: ToCString,
}

Arguments

NameDescription
path

The path of the file.

access

The new access time.

modification

The new modification time.

Remarks

If the path is relative, this file must be a directory and the path will be interpreted relative to it.

See also