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

Method is_empty

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

Whether the cache is empty.

(&self)

Source from the content-addressed store, hash-verified

312
313 /// Whether the cache is empty.
314 pub fn is_empty(&self) -> bool {
315 self.total == 0
316 }
317
318 /// Total lookup count (hits + misses).
319 pub fn total_lookups(&self) -> u64 {

Callers 15

index_documentMethod · 0.45
is_coveringMethod · 0.45
batch_putMethod · 0.45
rename_collectionMethod · 0.45
index_documentMethod · 0.45
remove_documentMethod · 0.45
searchMethod · 0.45
index_documentMethod · 0.45
index_document_in_txnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected