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

Method len

nodedb-vector/src/multivec/storage.rs:89–91  ·  view source on GitHub ↗

Number of documents currently stored.

(&self)

Source from the content-addressed store, hash-verified

87
88 /// Number of documents currently stored.
89 pub fn len(&self) -> usize {
90 self.docs.len()
91 }
92
93 /// Returns `true` if the store holds no documents.
94 pub fn is_empty(&self) -> bool {

Callers 12

meta_embed_searchFunction · 0.45
recomputeFunction · 0.45
kmeans_plus_plus_initFunction · 0.45
kmeansFunction · 0.45
budgeted_maxsimFunction · 0.45
insertMethod · 0.45
write_segmentFunction · 0.45
open_with_policyMethod · 0.45
footer_golden_layoutFunction · 0.45

Calls

no outgoing calls

Tested by 3

footer_golden_layoutFunction · 0.36