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

Method constructor

src/db/index.ts:86–91  ·  view source on GitHub ↗
(db: SqliteDatabase, dbPath: string, backend: SqliteBackend)

Source from the content-addressed store, hash-verified

84 private openedInode: string | null;
85
86 private constructor(db: SqliteDatabase, dbPath: string, backend: SqliteBackend) {
87 this.db = db;
88 this.dbPath = dbPath;
89 this.backend = backend;
90 this.openedInode = statInode(dbPath);
91 }
92
93 /**
94 * Initialize a new database at the given path

Callers

nothing calls this directly

Calls 1

statInodeFunction · 0.85

Tested by

no test coverage detected