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

Method fmt

atomic-remote/src/streaming/negotiation.rs:153–163  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

151
152impl fmt::Display for ChunkNegotiation {
153 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
154 write!(
155 f,
156 "need {} of {} chunks ({} to transfer, {} saved, {:.1}% savings)",
157 self.needed.len(),
158 self.total_chunks,
159 format_size(self.bytes_needed),
160 format_size(self.bytes_saved),
161 self.savings_pct(),
162 )
163 }
164}
165
166// ═══════════════════════════════════════════════════════════════════════

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected