MCPcopy Create free account
hub / github.com/continuedev/continue / get

Method get

core/data/devdataSqlite.ts:75–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 }
74
75 static async get() {
76 const devDataSqlitePath = getDevDataSqlitePath();
77 if (DevDataSqliteDb.db && fs.existsSync(devDataSqlitePath)) {
78 return DevDataSqliteDb.db;
79 }
80
81 DevDataSqliteDb.db = await open({
82 filename: devDataSqlitePath,
83 driver: sqlite3.Database,
84 });
85
86 await DevDataSqliteDb.db.exec("PRAGMA busy_timeout = 3000;");
87
88 await DevDataSqliteDb.createTables(DevDataSqliteDb.db!);
89
90 return DevDataSqliteDb.db;
91 }
92}

Callers

nothing calls this directly

Calls 3

getDevDataSqlitePathFunction · 0.85
openFunction · 0.85
createTablesMethod · 0.45

Tested by

no test coverage detected