Function install_pre_commit

Source
fn install_pre_commit(
    root: &Path,
    config: HookConfig,
    quiet: bool,
) -> Result<()>