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

Method run

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

Source from the content-addressed store, hash-verified

86
87impl Command for Hooks {
88 fn run(&self) -> CliResult<()> {
89 match &self.command {
90 HookCommands::Install => install_hooks(),
91 HookCommands::Uninstall => uninstall_hooks(),
92 HookCommands::Status => show_status(),
93 }
94 }
95}
96
97/// 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