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

Function __setLoadCodeGraphForTests

src/mcp/tools.ts:23–25  ·  view source on GitHub ↗
(cls: typeof import('../index').default | null)

Source from the content-addressed store, hash-verified

21// already-imported class here. Never set outside tests.
22let loadCodeGraphForTests: typeof import('../index').default | null = null;
23export function __setLoadCodeGraphForTests(cls: typeof import('../index').default | null): void {
24 loadCodeGraphForTests = cls;
25}
26import {
27 detectWorktreeIndexMismatch,
28 worktreeMismatchWarning,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected