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

Method fmt

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

Source from the content-addressed store, hash-verified

405
406impl std::fmt::Debug for Repository {
407 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
408 f.debug_struct("Repository")
409 .field("root", &self.root)
410 .field("dot_dir", &self.dot_dir)
411 .field("current_view", &self.current_view)
412 .field("pristine", &"<Pristine>")
413 .field("change_store", &self.change_store)
414 .field("is_sandbox", &self.is_sandbox)
415 .finish()
416 }
417}
418
419// ── Construction, accessors, internal helpers ────────────────────────────

Callers

nothing calls this directly

Calls 2

fieldMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected