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

Method is_empty

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

Returns `true` if the store holds no documents.

(&self)

Source from the content-addressed store, hash-verified

92
93 /// Returns `true` if the store holds no documents.
94 pub fn is_empty(&self) -> bool {
95 self.docs.is_empty()
96 }
97
98 /// Iterate over all stored documents (order unspecified).
99 pub fn iter(&self) -> impl Iterator<Item = &MultiVectorDoc> {

Callers 5

meta_embed_searchFunction · 0.45
recomputeFunction · 0.45
kmeansFunction · 0.45
candidatesMethod · 0.45
maxsimFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected