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

Method as_str

atomic-repository/src/repository/conflict_object.rs:136–144  ·  view source on GitHub ↗

Short display form used in refusals and notices.

(self)

Source from the content-addressed store, hash-verified

134
135 /// Short display form used in refusals and notices.
136 pub fn as_str(self) -> &'static str {
137 match self {
138 Self::Order => "order",
139 Self::Cyclic => "cyclic",
140 Self::Zombie => "zombie",
141 Self::ZombieFile => "zombie-file",
142 Self::Name => "name",
143 }
144 }
145}
146
147/// One side of a conflict: the graph vertex that contributes content.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected