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

Method fmt

atomic-core/src/crdt/apply/context.rs:361–374  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

359
360impl fmt::Display for ApplyStats {
361 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
362 write!(
363 f,
364 "trunks: +{} -{} ~{} | branches: +{} -{} | leaves: +{} -{} ~{}",
365 self.trunks_created,
366 self.trunks_deleted,
367 self.trunks_moved,
368 self.branches_inserted,
369 self.branches_deleted,
370 self.leaves_inserted,
371 self.leaves_deleted,
372 self.leaves_replaced
373 )
374 }
375}
376
377// ApplyContext

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected