MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / __emitWatchEventForTests

Function __emitWatchEventForTests

src/sync/watcher.ts:1031–1036  ·  view source on GitHub ↗
(projectRoot: string, relPath: string)

Source from the content-addressed store, hash-verified

1029 * test runtime, where the registry is intentionally not populated).
1030 */
1031export function __emitWatchEventForTests(projectRoot: string, relPath: string): boolean {
1032 const w = liveWatchersForTests.get(projectRoot);
1033 if (!w) return false;
1034 w.ingestEventForTests(relPath);
1035 return true;
1036}

Callers 2

watcher.test.tsFile · 0.90

Calls 2

ingestEventForTestsMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected