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

Method description

atomic-cli/src/commands/revise.rs:156–162  ·  view source on GitHub ↗

Get a human-readable description of this reference.

(&self)

Source from the content-addressed store, hash-verified

154
155 /// Get a human-readable description of this reference.
156 pub fn description(&self) -> String {
157 match self {
158 Self::Last => "@".to_string(),
159 Self::Relative(n) => format!("@~{}", n),
160 Self::Hash(h) => h.clone(),
161 }
162 }
163}
164
165// Revise Command

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected