MCPcopy Create free account
hub / github.com/GrayJack/coreutils / update_time

Function update_time

touch/src/main.rs:157–170  ·  view source on GitHub ↗

Update the times of the `path` acording with the `flags`.

(
    path: &str, new_atime: FileTime, new_mtime: FileTime, meta: &Metadata, flags: TouchFlags,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

touchFunction · 0.85

Calls 3

update_access_timeFunction · 0.85
update_modification_timeFunction · 0.85
update_both_timeFunction · 0.85

Tested by

no test coverage detected