MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / clear_caches

Method clear_caches

atomic-core/src/record/workflow/globalize/context.rs:320–324  ·  view source on GitHub ↗

Clear the caches. Call this if the underlying graph has changed.

(&mut self)

Source from the content-addressed store, hash-verified

318 ///
319 /// Call this if the underlying graph has changed.
320 pub fn clear_caches(&mut self) {
321 self.inode_cache.clear();
322 self.position_cache.clear();
323 self.content_vertices_cache.clear();
324 }
325
326 /// Get cache statistics for debugging.
327 #[must_use]

Callers

nothing calls this directly

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected