Skip to main content

record_use

Function record_use 

Source
pub fn record_use(dir: &Path, now: SystemTime)
Expand description

Note that dir was just used. Best effort, throttled to RECORD_USE_EVERY by the marker’s own mtime; an error is ignored (a failure to record can only make the directory look older, and the other guards still apply).