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

Method growing_is_empty

nodedb-vector/src/collection/lifecycle.rs:257–259  ·  view source on GitHub ↗

Whether the growing segment has no vectors.

(&self)

Source from the content-addressed store, hash-verified

255
256 /// Whether the growing segment has no vectors.
257 pub fn growing_is_empty(&self) -> bool {
258 self.growing.is_empty()
259 }
260
261 pub fn len(&self) -> usize {
262 let mut total = self.growing.len();

Callers 1

execute_vector_sealMethod · 0.80

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected