MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / needed_indices

Method needed_indices

atomic-remote/src/streaming/negotiation.rs:147–149  ·  view source on GitHub ↗

Returns the set of needed chunk indices.

(&self)

Source from the content-addressed store, hash-verified

145
146 /// Returns the set of needed chunk indices.
147 pub fn needed_indices(&self) -> Vec<u32> {
148 self.needed.iter().map(|e| e.index).collect()
149 }
150}
151
152impl fmt::Display for ChunkNegotiation {

Callers 1

Calls 1

iterMethod · 0.45

Tested by 1