Test whether a hook matches a tool name
Arguments
- hook
A HookMatcher.
- tool_name
One tool name, or
NULL. A hook without a pattern matches every name, includingNULL; a pattern requires a non-NULL name.
Test whether a hook matches a tool name
A HookMatcher.
One tool name, or NULL. A hook without a pattern matches
every name, including NULL; a pattern requires a non-NULL name.