Skip to main content

handle_hook_command

Function handle_hook_command 

Source
pub fn handle_hook_command(action: &HookAction) -> Result<()>
Expand description

Handle the hook command - install or uninstall the prepare-commit-msg hook

ยงErrors

Returns an error when hook installation or removal fails.