MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / total_lookups

Method total_lookups

nodedb/src/engine/sparse/doc_cache.rs:319–321  ·  view source on GitHub ↗

Total lookup count (hits + misses).

(&self)

Source from the content-addressed store, hash-verified

317
318 /// Total lookup count (hits + misses).
319 pub fn total_lookups(&self) -> u64 {
320 self.hits.get() + self.misses.get()
321 }
322
323 // ── Private helpers ───────────────────────────────────────────────────────
324

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected