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

Method description

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

Get a human-readable description of this status.

(&self)

Source from the content-addressed store, hash-verified

697
698 /// Get a human-readable description of this status.
699 pub fn description(&self) -> &'static str {
700 match self {
701 FileChangeStatus::Added => "added",
702 FileChangeStatus::Deleted => "deleted",
703 FileChangeStatus::Modified => "modified",
704 FileChangeStatus::Renamed => "renamed",
705 FileChangeStatus::Copied => "copied",
706 FileChangeStatus::TypeChanged => "type changed",
707 FileChangeStatus::Untracked => "untracked",
708 }
709 }
710}
711
712impl fmt::Display for FileChangeStatus {

Callers 14

compileMethod · 0.45
format_defaultMethod · 0.45
from_entryMethod · 0.45
runMethod · 0.45
delegate_from_requestMethod · 0.45
executeMethod · 0.45

Calls

no outgoing calls