Skip to main content

load_hooks_config

Function load_hooks_config 

Source
pub fn load_hooks_config(dirs: &[PathBuf]) -> HooksConfig
Expand description

Load HooksConfig from the first hooks.json found in dirs.

Silently ignores parse errors and missing files; returns an empty config if none is found.