MCPcopy
hub / github.com/colbymchenry/codegraph / __emitWatchEventForTests

Function __emitWatchEventForTests

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

Source from the content-addressed store, hash-verified

864 * test runtime, where the registry is intentionally not populated).
865 */
866export function __emitWatchEventForTests(projectRoot: string, relPath: string): boolean {
867 const w = liveWatchersForTests.get(projectRoot);
868 if (!w) return false;
869 w.ingestEventForTests(relPath);
870 return true;
871}

Callers 2

watcher.test.tsFile · 0.90

Calls 2

ingestEventForTestsMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected