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

Method run

atomic-cli/src/commands/git/hooks.rs:58–65  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

56
57impl Command for Hooks {
58 fn run(&self) -> CliResult<()> {
59 let root = find_repository_root()?;
60 match &self.command {
61 HookCommands::Install => enable_shim(&root, false),
62 HookCommands::Uninstall => super::hook_dispatchers::uninstall_shim(&root),
63 HookCommands::Status => super::hook_dispatchers::show_status(&root),
64 }
65 }
66}
67
68#[derive(Debug)]

Callers

nothing calls this directly

Calls 4

find_repository_rootFunction · 0.85
enable_shimFunction · 0.85
uninstall_shimFunction · 0.85
show_statusFunction · 0.85

Tested by

no test coverage detected