Function hook_cmd

Source
pub fn hook_cmd(
    repo_dir: &Path,
    hook_type: &HookType,
) -> Result<Option<Command>, Error>
Expand description

Retrieves the executable hook command if it exists.