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

Method fresh_len

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

Number of un-drained fresh vectors.

(&self)

Source from the content-addressed store, hash-verified

56
57 /// Number of un-drained fresh vectors.
58 pub fn fresh_len(&self) -> usize {
59 self.fresh.len()
60 }
61
62 /// Brute-force scan over fresh vectors (excluding tombstones), returning
63 /// the top-`k` results sorted ascending by distance.

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected