Skip to main content

load

Function load 

Source
pub fn load(root: &Path) -> Result<Vec<HookDef>, String>
Expand description

The hooks of the project at root: its [hooks] and its extensions’.

§Errors

The configuration cannot be read, a hook is misconfigured, or an extension cannot be loaded.