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

Function openDb

__tests__/wal-deferral.test.ts:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28});
29
30function openDb(): DatabaseConnection {
31 return DatabaseConnection.initialize(path.join(tmpDir, 'test.db'));
32}
33
34/** Grow the WAL: with autocheckpoint off, every commit appends and nothing folds back. */
35function writeRows(db: DatabaseConnection, rows: number): void {

Callers 1

Calls 2

initializeMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected