pub fn load(root: &Path) -> Result<Vec<HookDef>, String>
The hooks of the project at root (none without a configuration).
root
The configuration cannot be read, or a hook is misconfigured.