MCPcopy
hub / github.com/colbymchenry/codegraph / close

Method close

src/db/sqlite-adapter.ts:123–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 }
122
123 close(): void {
124 // node:sqlite's DatabaseSync.close() throws if already closed; make it
125 // idempotent to match better-sqlite3 (callers may close more than once).
126 if (this._db.isOpen) this._db.close();
127 }
128}
129
130/**

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected