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

Method is_empty

nodedb-vector/src/segment_backing/mod.rs:37–39  ·  view source on GitHub ↗

Returns `true` when the segment contains no vectors.

(&self)

Source from the content-addressed store, hash-verified

35
36 /// Returns `true` when the segment contains no vectors.
37 fn is_empty(&self) -> bool {
38 self.len() == 0
39 }
40
41 /// Dimensionality of each stored vector.
42 fn dim(&self) -> usize;

Callers 1

stable_predicatesMethod · 0.45

Implementers 1

plain.rsnodedb-vector/src/segment_backing/plai

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected