MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / countMatching

Method countMatching

src/hooks/manager.ts:59–61  ·  view source on GitHub ↗

Convenience: how many hooks would dispatch for this event/tool combination.

(event: HookEvent, toolName?: string)

Source from the content-addressed store, hash-verified

57
58 /** Convenience: how many hooks would dispatch for this event/tool combination. */
59 countMatching(event: HookEvent, toolName?: string): number {
60 return this.matching(event, toolName).length;
61 }
62
63 /**
64 * Dispatch an event. Hooks run sequentially in declaration order so users have

Callers

nothing calls this directly

Calls 1

matchingMethod · 0.95

Tested by

no test coverage detected