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

Method constructor

src/db/index.ts:114–120  ·  view source on GitHub ↗
(db: SqliteDatabase, dbPath: string, backend: SqliteBackend, fts5Available: boolean, readonly readOnly = false)

Source from the content-addressed store, hash-verified

112 readonly fts5Available: boolean;
113
114 private constructor(db: SqliteDatabase, dbPath: string, backend: SqliteBackend, fts5Available: boolean, readonly readOnly = false) {
115 this.db = db;
116 this.dbPath = dbPath;
117 this.backend = backend;
118 this.fts5Available = fts5Available;
119 this.openedInode = statInode(dbPath);
120 }
121
122 /**
123 * Initialize a new database at the given path

Callers

nothing calls this directly

Calls 1

statInodeFunction · 0.90

Tested by

no test coverage detected