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

Method stats

graphlite/src/cache/result_cache.rs:519–521  ·  view source on GitHub ↗

Get cache statistics

(&self)

Source from the content-addressed store, hash-verified

517
518 /// Get cache statistics
519 pub fn stats(&self) -> CacheStats {
520 self.stats.read().unwrap().clone()
521 }
522
523 /// Clear all cached results
524 pub fn clear(&self) {

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.80
unwrapMethod · 0.80

Tested by

no test coverage detected