MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / update_access

Method update_access

graphlite/src/cache/mod.rs:86–89  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

84 }
85
86 pub fn update_access(&mut self) {
87 self.last_accessed = Instant::now();
88 self.access_count += 1;
89 }
90}
91
92/// Generic cache key trait

Callers 3

getMethod · 0.80
getMethod · 0.80
getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected