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

Method open

src/mcp/tools.ts:2577–2577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2575 // Indexes an interrupted bulk load dropped are rebuilt off this thread,
2576 // before the project is served (awaitIndexRecovery, #1887).
2577 const open = () => loadCodeGraph().openSync(canonicalRoot, { deferIndexRecovery: true });
2578 const cg = this.projectLifecycle?.open(canonicalRoot, open) ?? open();
2579 this.projectCache.set(canonicalRoot, cg);
2580 this.projectUsedAt.set(canonicalRoot, Date.now());

Callers

nothing calls this directly

Calls 2

loadCodeGraphFunction · 0.70
openSyncMethod · 0.45

Tested by

no test coverage detected