(&self)
| 86 | |
| 87 | impl 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. |
nothing calls this directly
no test coverage detected