MCPcopy
hub / github.com/codeaashu/claude-code / isInternalHook

Function isInternalHook

src/utils/hooks.ts:1440–1442  ·  view source on GitHub ↗
(matched: MatchedHook)

Source from the content-addressed store, hash-verified

1438}
1439
1440function isInternalHook(matched: MatchedHook): boolean {
1441 return matched.hook.type === 'callback' && matched.hook.internal === true
1442}
1443
1444/**
1445 * Build a dedup key for a matched hook, namespaced by source context.

Callers 2

executeHooksFunction · 0.85
executeHooksOutsideREPLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected