Skip to main content

install_git_hooks

Function install_git_hooks 

Source
pub async fn install_git_hooks(project_path: &Path) -> Result<()>
Expand description

Install git hooks for a project

ยงErrors

Returns Error::Validation if the path is not a git repository. Returns Error::Process if hook files cannot be written.