Skip to main content

install

Function install 

Source
pub fn install() -> Result<PathBuf>
Expand description

Install the hooks ljos doctor checks.

An unset core.hooksPath is pointed at ljos’s hook directory. A path that already names a directory is left alone, and each hook there gains a block that calls ljos git-hook.

§Errors

The directory cannot be written, or git config fails.