Skip to main content

touch

Function touch 

Source
pub fn touch(root: &Path, record_ids: &[&str])
Expand description

Load tracker, update last_referenced_at to now (UTC ISO 8601) and increment count for each record_id. Creates file if absent. Uses file locking for concurrent safety. Errors are swallowed (eprintln

  • return) — retrieval must never fail because of tracker I/O.