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