MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / requireDB

Function requireDB

src/codegraph/tools.ts:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14export function getIndexer(): import('./indexer.js').Indexer | null { return _indexer; }
15
16function requireDB(): CodeGraphDB | { error: string } {
17 if (!_db) return { error: '[CODE_GRAPH_NOT_READY] The code graph has not been built yet. Run `qx index` or `/index` to build it.' };
18 return _db;
19}
20
21// ---------------- find_symbol ----------------
22

Callers 7

executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected