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

Method fmt

atomic-core/src/change/format_v3/writer/options.rs:169–179  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

167
168impl std::fmt::Display for WriterStats {
169 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
170 write!(
171 f,
172 "{} sections, {} bytes uncompressed → {} bytes compressed ({:.1}% savings), {} bytes total on disk",
173 self.sections_written,
174 self.total_uncompressed,
175 self.total_compressed,
176 self.space_savings_pct(),
177 self.total_bytes_written,
178 )
179 }
180}
181
182// ═══════════════════════════════════════════════════════════════════════

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected