Skip to main content

install

Function install 

Source
pub fn install(hook_name: &str) -> Result<()>
Expand description

Install the git-side hook.

ยงErrors

Returns an error if the hook is already installed or if file operations fail.