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

Function status

atomic-cli/src/commands/change/tree.rs:318–332  ·  view source on GitHub ↗
(symbol: &str)

Source from the content-addressed store, hash-verified

316}
317
318fn status(symbol: &str) -> &str {
319 match symbol {
320 "+" | "📁+" => "added",
321 "-" | "📁-" => "deleted",
322 "~" | "±" => "modified",
323 "→" => "moved",
324 "↑" | "📁↑" => "restored",
325 "@" => "attributes",
326 "✓" => "resolved",
327 "!" => "conflicted",
328 "◉" => "root added",
329 "⊘" => "root deleted",
330 _ => "changed",
331 }
332}
333
334fn attestation(prov: &Provenance) -> Tree {
335 let mut section = Tree::new("Attestation");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected