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

Function loadCodeGraph

src/mcp/query-worker.ts:40–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38// Mirror the engine's lazy-require of the heavy CodeGraph + tools chain. This
39// module is only ever loaded as a Worker, so the require runs once on spawn.
40const loadCodeGraph = (): typeof import('../index').default =>
41 (require('../index') as typeof import('../index')).default;
42const loadToolHandler = (): typeof import('./tools').ToolHandler =>
43 (require('./tools') as typeof import('./tools')).ToolHandler;
44

Callers 1

query-worker.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected