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

Method len

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

Total cached documents across all database shards.

(&self)

Source from the content-addressed store, hash-verified

307
308 /// Total cached documents across all database shards.
309 pub fn len(&self) -> usize {
310 self.total
311 }
312
313 /// Whether the cache is empty.
314 pub fn is_empty(&self) -> bool {

Callers 15

create_indexMethod · 0.45
overshoot_scoreMethod · 0.45
putMethod · 0.45
evict_collectionMethod · 0.45
evict_tenantMethod · 0.45
rename_collectionMethod · 0.45
delete_all_for_tenantMethod · 0.45
range_scanMethod · 0.45
scan_index_valuesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected