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

Method is_full_transfer

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

Returns `true` if no chunks are present (full transfer needed).

(&self)

Source from the content-addressed store, hash-verified

126
127 /// Returns `true` if no chunks are present (full transfer needed).
128 pub fn is_full_transfer(&self) -> bool {
129 self.already_have == 0
130 }
131
132 /// Returns the percentage of bytes saved (0.0 to 100.0).
133 pub fn savings_pct(&self) -> f64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected