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

Function loadSqlite

src/context/sqlite-index.ts:50–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50async function loadSqlite(): Promise<any | null> {
51 try {
52 // @ts-ignore — better-sqlite3 is a dependency; defensive dynamic import
53 const mod: any = await import('better-sqlite3');
54 return mod.default ?? mod;
55 } catch {
56 return null;
57 }
58}
59
60// ── Quantization ─────────────────────────────────────────────────────────────
61

Callers 2

buildSqliteIndexFunction · 0.85
openSqliteIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected