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

Method label

atomic-cli/src/commands/git/hook_dispatchers.rs:203–212  ·  view source on GitHub ↗

The wording `atomic git hooks status` prints.

(self)

Source from the content-addressed store, hash-verified

201impl HookState {
202 /// The wording `atomic git hooks status` prints.
203 pub(crate) fn label(self) -> &'static str {
204 match self {
205 Self::NotInstalled => "not installed",
206 Self::AtomicOwned => "Atomic-owned dispatcher installed",
207 Self::UnmanagedSymlink => "unmanaged symlink",
208 Self::UnmanagedNonFile => "unmanaged non-file",
209 Self::Unmanaged => "unmanaged hook installed",
210 Self::UnmanagedUnreadable => "unmanaged unreadable hook",
211 }
212 }
213
214 /// Stable machine-readable key.
215 pub(crate) fn code(self) -> &'static str {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected