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

Method format_default

atomic-cli/src/commands/change/command.rs:309–317  ·  view source on GitHub ↗

Format the change for default output.

(
        &self,
        change: &Change,
        hash: &Hash,
        sequence: Option<u64>,
        data: &ChangeRenderData,
    )

Source from the content-addressed store, hash-verified

307
308 /// Format the change for default output.
309 fn format_default(
310 &self,
311 change: &Change,
312 hash: &Hash,
313 sequence: Option<u64>,
314 data: &ChangeRenderData,
315 ) -> String {
316 super::tree::render(self, change, hash, sequence, data)
317 }
318
319 /// Format the change for short output.
320 pub(crate) fn format_short(

Callers 1

print_changeMethod · 0.45

Calls 1

renderFunction · 0.70

Tested by

no test coverage detected