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

Method is_empty

nodedb/src/engine/vector/sparse/index.rs:139–141  ·  view source on GitHub ↗

Whether the index is empty.

(&self)

Source from the content-addressed store, hash-verified

137
138 /// Whether the index is empty.
139 pub fn is_empty(&self) -> bool {
140 self.doc_count == 0
141 }
142
143 /// Serialize to bytes for checkpoint persistence.
144 pub fn checkpoint_to_bytes(&self) -> Vec<u8> {

Callers 2

remove_internalMethod · 0.45
dot_product_topkFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected