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

Function start

__tests__/query-pool.test.ts:692–697  ·  view source on GitHub ↗
(root: string)

Source from the content-addressed store, hash-verified

690 }
691
692 async function start(root: string): Promise<MCPEngine> {
693 engine = new BuiltEngine({ watch: false, queryPool: true });
694 await engine.ensureInitialized(root);
695 pool = (engine as unknown as { queryPool: QueryPool | null }).queryPool;
696 return engine;
697 }
698
699 it.each([true, false])('routes concurrent reads across projects with default=%s, preserving output and session state', async (hasDefault) => {
700 const alpha = await indexProject('alpha', 'alphaSymbol');

Callers 1

query-pool.test.tsFile · 0.70

Calls 1

ensureInitializedMethod · 0.80

Tested by

no test coverage detected