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

Method print_no_changes

atomic-cli/src/commands/diff/helpers.rs:100–106  ·  view source on GitHub ↗

Print a message when there are no changes.

(&self)

Source from the content-addressed store, hash-verified

98
99 /// Print a message when there are no changes.
100 pub(super) fn print_no_changes(&self) {
101 if self.json {
102 let _ = json::print_json(&json::JsonDiff::empty(None));
103 return;
104 }
105 print_info("No changes detected");
106 }
107
108 /// Explain that the working copy matches the view, and point at the
109 /// change records that *are* inspectable.

Callers 3

run_git_diffMethod · 0.80

Calls 2

print_infoFunction · 0.85
print_jsonFunction · 0.70

Tested by

no test coverage detected