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

Method fmt

atomic-repository/src/unrecord.rs:310–320  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

308
309impl fmt::Display for UnrecordOutcome {
310 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
311 if self.was_dry_run {
312 write!(f, "[DRY RUN] ")?;
313 }
314 write!(
315 f,
316 "Unrecorded {} change(s), new state: {}",
317 self.unrecorded.len(),
318 &self.new_state.to_base32()[..8]
319 )
320 }
321}
322
323// Unrecord Statistics

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected