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

Method is_full

nodedb-vector/src/delta/index.rs:53–55  ·  view source on GitHub ↗

Returns `true` when the number of fresh vectors has reached `max_fresh`.

(&self)

Source from the content-addressed store, hash-verified

51
52 /// Returns `true` when the number of fresh vectors has reached `max_fresh`.
53 pub fn is_full(&self) -> bool {
54 self.fresh.len() >= self.max_fresh
55 }
56
57 /// Number of un-drained fresh vectors.
58 pub fn fresh_len(&self) -> usize {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected