MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getRegisteredHooks

Function getRegisteredHooks

src/bootstrap/state.ts:1436–1440  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1434}
1435
1436export function getRegisteredHooks(): Partial<
1437 Record<HookEvent, RegisteredHookMatcher[]>
1438> | null {
1439 return STATE.registeredHooks
1440}
1441
1442export function clearRegisteredHooks(): void {
1443 STATE.registeredHooks = null

Callers 7

getHooksConfigFunction · 0.85
hasHookForEventFunction · 0.85
hasWorktreeCreateHookFunction · 0.85
pruneRemovedPluginHooksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected