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

Method fmt

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

Source from the content-addressed store, hash-verified

418
419impl std::fmt::Debug for Repository {
420 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
421 f.debug_struct("Repository")
422 .field("root", &self.root)
423 .field("dot_dir", &self.dot_dir)
424 .field("current_view", &self.current_view)
425 .field("pristine", &"<Pristine>")
426 .field("change_store", &self.change_store)
427 .field("is_sandbox", &self.is_sandbox)
428 .finish()
429 }
430}
431
432// ── Construction, accessors, internal helpers ────────────────────────────

Callers

nothing calls this directly

Calls 2

fieldMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected