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

Function __emitWatchEventForTests

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

Source from the content-addressed store, hash-verified

1234 * test runtime, where the registry is intentionally not populated).
1235 */
1236export function __emitWatchEventForTests(projectRoot: string, relPath: string): boolean {
1237 const w = liveWatchersForTests.get(projectRoot);
1238 if (!w) return false;
1239 w.ingestEventForTests(relPath);
1240 return true;
1241}

Callers 6

pendFunction · 0.90
sync.test.tsFile · 0.90
watcher.test.tsFile · 0.90

Calls 2

ingestEventForTestsMethod · 0.80
getMethod · 0.65

Tested by 1

pendFunction · 0.72