cargo_util::paths

Function set_invocation_time

source
pub fn set_invocation_time(path: &Path) -> Result<FileTime>
Expand description

Record the current time on the filesystem (using the filesystem’s clock) using a file at the given directory. Returns the current time.