MCPcopy Index your code
hub / github.com/continuedev/continue / clearDatabase

Method clearDatabase

core/indexing/TestCodebaseIndex.ts:71–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70
71 async clearDatabase(): Promise<void> {
72 const db = await SqliteDb.get();
73 await TestCodebaseIndex._createTables(db);
74 await db.run("DELETE FROM test_index");
75 }
76}

Callers 1

Calls 3

getMethod · 0.65
runMethod · 0.65
_createTablesMethod · 0.45

Tested by

no test coverage detected