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

Function print_json

atomic-cli/src/commands/view/list.rs:764–769  ·  view source on GitHub ↗
(output: &JsonViewList)

Source from the content-addressed store, hash-verified

762}
763
764fn print_json(output: &JsonViewList) -> CliResult<()> {
765 let json =
766 serde_json::to_string_pretty(output).map_err(|error| CliError::Internal(error.into()))?;
767 println!("{}", json);
768 Ok(())
769}
770
771/// The local-source JSON document, printed from wire-carried views — the
772/// same document shape the local body emits (repository_root and the

Callers 3

print_remote_viewsMethod · 0.70
runMethod · 0.70
print_local_jsonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected