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

Method clear_caches

atomic-core/src/record/workflow/globalize/context.rs:246–250  ·  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

244 ///
245 /// Call this if the underlying graph has changed.
246 pub fn clear_caches(&mut self) {
247 self.inode_cache.clear();
248 self.position_cache.clear();
249 self.content_vertices_cache.clear();
250 }
251
252 /// Get cache statistics for debugging.
253 #[must_use]

Callers

nothing calls this directly

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected