Changes the access and modification times of a file pointed to by a path relative to this file.
impl File {
fn rel_set_times<P>(&self, path: P, access: TimeChange, modification: TimeChange) -> Result<(), Errno>
where P: ToCString,
}| Name | Description |
|---|---|
| path | The path of the file. |
| access | The new access time. |
| modification | The new modification time. |
If the path is relative, this file must be a directory and the path will be interpreted relative to it. If the file at the path is a symlink, it will be resolved recursively and the times of the first non-symlink target will be changed.