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

Method is_complete

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

Returns `true` if all chunks are already present (nothing to transfer).

(&self)

Source from the content-addressed store, hash-verified

121
122 /// Returns `true` if all chunks are already present (nothing to transfer).
123 pub fn is_complete(&self) -> bool {
124 self.needed.is_empty()
125 }
126
127 /// Returns `true` if no chunks are present (full transfer needed).
128 pub fn is_full_transfer(&self) -> bool {

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected