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

Function line_status_name

atomic-cli/src/commands/diff/json.rs:216–222  ·  view source on GitHub ↗
(status: LineStatus)

Source from the content-addressed store, hash-verified

214}
215
216fn line_status_name(status: LineStatus) -> &'static str {
217 match status {
218 LineStatus::Unchanged => "context",
219 LineStatus::Added => "added",
220 LineStatus::Removed => "removed",
221 }
222}
223
224/// Print the document to stdout.
225pub(super) fn print_json(document: &JsonDiff) -> CliResult<()> {

Callers 1

fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected