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

Method description

atomic-cli/src/commands/diff/types.rs:688–698  ·  view source on GitHub ↗

Get a human-readable description of this status.

(&self)

Source from the content-addressed store, hash-verified

686
687 /// Get a human-readable description of this status.
688 pub fn description(&self) -> &'static str {
689 match self {
690 FileChangeStatus::Added => "added",
691 FileChangeStatus::Deleted => "deleted",
692 FileChangeStatus::Modified => "modified",
693 FileChangeStatus::Renamed => "renamed",
694 FileChangeStatus::Copied => "copied",
695 FileChangeStatus::TypeChanged => "type changed",
696 FileChangeStatus::Untracked => "untracked",
697 }
698 }
699}
700
701impl fmt::Display for FileChangeStatus {

Callers 8

write_commitMethod · 0.45
format_defaultMethod · 0.45
from_entryMethod · 0.45
runMethod · 0.45
create_test_changeFunction · 0.45

Calls

no outgoing calls