Skip to main content

install_hook

Function install_hook 

Source
pub fn install_hook(
    hooks_dir: &Path,
    hook_name: &str,
    hook_content: &str,
) -> Result<HookInstallation, Error>
Expand description

Install a single git hook