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

Method fmt

atomic-core/src/change/format_v3/compact/graph_op.rs:304–309  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

302
303impl fmt::Display for CompactGraphOp {
304 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
305 match self.path() {
306 Some(path) => write!(f, "{}({})", self.type_name(), path),
307 None => write!(f, "{}", self.type_name()),
308 }
309 }
310}

Callers

nothing calls this directly

Calls 1

pathMethod · 0.45

Tested by

no test coverage detected