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

Method fmt

atomic-core/src/diff/semantic_to_crdt.rs:192–204  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

190
191impl fmt::Display for ConversionStats {
192 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
193 write!(
194 f,
195 "{} line ops (+{} -{}) | {} token ops (+{} -{} ~{})",
196 self.total_line_ops(),
197 self.lines_inserted,
198 self.lines_deleted,
199 self.total_token_ops(),
200 self.tokens_inserted,
201 self.tokens_deleted,
202 self.tokens_replaced
203 )
204 }
205}
206
207// Conversion Error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected