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

Method description

atomic-repository/src/diff_engine.rs:711–721  ·  view source on GitHub ↗

Get a human-readable description of this status.

(&self)

Source from the content-addressed store, hash-verified

709
710 /// Get a human-readable description of this status.
711 pub fn description(&self) -> &'static str {
712 match self {
713 FileChangeStatus::Added => "added",
714 FileChangeStatus::Deleted => "deleted",
715 FileChangeStatus::Modified => "modified",
716 FileChangeStatus::Renamed => "renamed",
717 FileChangeStatus::Copied => "copied",
718 FileChangeStatus::TypeChanged => "type changed",
719 FileChangeStatus::Untracked => "untracked",
720 }
721 }
722}
723
724impl fmt::Display for FileChangeStatus {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected