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

Method shard_count

nodedb/src/control/scatter_gather.rs:61–63  ·  view source on GitHub ↗

Number of distinct shards in this envelope.

(&self)

Source from the content-addressed store, hash-verified

59
60 /// Number of distinct shards in this envelope.
61 pub fn shard_count(&self) -> usize {
62 self.batches.len()
63 }
64
65 /// Consume into scatter batches.
66 pub fn into_batches(self) -> Vec<ScatterBatch> {

Callers 1

apply_fan_out_limitsFunction · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected