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

Function write_git_object

atomic-cli/src/commands/op/output.rs:464–467  ·  view source on GitHub ↗
(output: &mut String, indent: usize, object: &GitObjectDto)

Source from the content-addressed store, hash-verified

462}
463
464fn write_git_object(output: &mut String, indent: usize, object: &GitObjectDto) {
465 write_key_value(output, indent, "algorithm", &object.algorithm);
466 write_key_value(output, indent, "oid", &object.oid);
467}
468
469fn write_git_observation(output: &mut String, indent: usize, observation: &GitRefObservationDto) {
470 writeln!(output, "{}- name: {}", spaces(indent), observation.name).unwrap();

Callers 5

write_effect_targetFunction · 0.85
write_effect_valueFunction · 0.85
write_git_headFunction · 0.85
write_git_indexFunction · 0.85
write_git_ref_targetFunction · 0.85

Calls 1

write_key_valueFunction · 0.85

Tested by

no test coverage detected