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

Method len

nodedb/src/event/cdc/buffer.rs:205–207  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

203 }
204
205 pub fn len(&self) -> usize {
206 self.events.read().unwrap_or_else(|p| p.into_inner()).len()
207 }
208
209 pub fn is_empty(&self) -> bool {
210 self.len() == 0

Callers 15

diff_arraysFunction · 0.45
diff_stringsFunction · 0.45
partition_countMethod · 0.45
loadMethod · 0.45
spawnMethod · 0.45
num_consumersMethod · 0.45
parse_put_recordFunction · 0.45
parse_delete_recordFunction · 0.45
drain_ring_bufferFunction · 0.45
consumer_loopFunction · 0.45
strip_procedural_wrapperFunction · 0.45

Calls 1

readMethod · 0.45

Tested by

no test coverage detected