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

Function initGraph

__tests__/watcher.test.ts:66–70  ·  view source on GitHub ↗
(...args: Parameters<typeof CodeGraph.initSync>)

Source from the content-addressed store, hash-verified

64 const unitWatchers = new Set<FileWatcher>();
65
66 const initGraph = (...args: Parameters<typeof CodeGraph.initSync>) => {
67 const cg = CodeGraph.initSync(...args);
68 graphs.add(cg);
69 return cg;
70 };
71
72 // Inert by default — unit tests drive events via __emitWatchEventForTests
73 // and never depend on real OS watch delivery.

Callers 2

watcher.test.tsFile · 0.85
startFunction · 0.85

Calls 2

initSyncMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected