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

Method run

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

Source from the content-addressed store, hash-verified

70
71impl Command for Hooks {
72 fn run(&self) -> CliResult<()> {
73 match &self.command {
74 HookCommands::Install => install_hooks(),
75 HookCommands::Uninstall => uninstall_hooks(),
76 HookCommands::Status => show_status(),
77 }
78 }
79}
80
81/// Find the .git/hooks directory.

Callers

nothing calls this directly

Calls 3

install_hooksFunction · 0.85
uninstall_hooksFunction · 0.85
show_statusFunction · 0.85

Tested by

no test coverage detected