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

Method len

nodedb/src/control/lease/refcount.rs:137–139  ·  view source on GitHub ↗

Number of descriptors held in this scope.

(&self)

Source from the content-addressed store, hash-verified

135
136 /// Number of descriptors held in this scope.
137 pub fn len(&self) -> usize {
138 self.descriptor_ids.len()
139 }
140
141 pub fn is_empty(&self) -> bool {
142 self.descriptor_ids.is_empty()

Callers 15

shard_countMethod · 0.45
total_nodesMethod · 0.45
apply_fan_out_limitsFunction · 0.45
in_flightMethod · 0.45
run_checkpoint_cycleFunction · 0.45
pushMethod · 0.45
arrow_countFunction · 0.45
subscription_countMethod · 0.45
deliverMethod · 0.45
publishMethod · 0.45

Calls

no outgoing calls