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

Function setEnvHookNotifier

src/utils/hooks/fileChangedWatcher.ts:22–26  ·  view source on GitHub ↗
(
  cb: ((text: string, isError: boolean) => void) | null,
)

Source from the content-addressed store, hash-verified

20let notifyCallback: ((text: string, isError: boolean) => void) | null = null
21
22export function setEnvHookNotifier(
23 cb: ((text: string, isError: boolean) => void) | null,
24): void {
25 notifyCallback = cb
26}
27
28export function initializeFileChangedWatcher(cwd: string): void {
29 if (initialized) return

Callers 2

NotificationsFunction · 0.85
_temp2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected