Skip to main content

configured_hooks_dir

Function configured_hooks_dir 

Source
fn configured_hooks_dir() -> Option<PathBuf>
Expand description

The hooks directory the person or the repository configured: core.hooksPath from the repository (husky), else the person’s global or system configuration. One git config call lists every scope; the environment’s own value (command scope: AgentMux’s directory, set through GIT_CONFIG_*) is not consulted, and an AgentMux directory found in a file is passed over.