Skip to main content

matching_hooks

Function matching_hooks 

Source
pub fn matching_hooks(settings: &Settings, event: HookEvent) -> Vec<&Hook>
Expand description

Return the subset of hooks that should fire for event. Returns empty when the master hooks_enabled toggle is off, regardless of per-hook enabled flags.