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

Method code

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

Stable machine-readable key.

(self)

Source from the content-addressed store, hash-verified

213
214 /// Stable machine-readable key.
215 pub(crate) fn code(self) -> &'static str {
216 match self {
217 Self::NotInstalled => "not_installed",
218 Self::AtomicOwned => "atomic_owned",
219 Self::UnmanagedSymlink => "unmanaged_symlink",
220 Self::UnmanagedNonFile => "unmanaged_non_file",
221 Self::Unmanaged => "unmanaged",
222 Self::UnmanagedUnreadable => "unmanaged_unreadable",
223 }
224 }
225}
226
227/// Inspect the dispatchers of the Git repository colocated with `root`, or

Callers 15

build_switch_projectionFunction · 0.45
snapshot_referenceFunction · 0.45
restore_headFunction · 0.45
restore_referenceFunction · 0.45
pathsMethod · 0.45
git_hook_contextFunction · 0.45
observe_gitFunction · 0.45
observe_headFunction · 0.45
compute_index_tree_oidFunction · 0.45
git_branch_pathsFunction · 0.45

Calls

no outgoing calls