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

Method close

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

Source from the content-addressed store, hash-verified

207 }
208
209 close(): void {
210 // node:sqlite's DatabaseSync.close() throws if already closed; make it
211 // idempotent to match better-sqlite3 (callers may close more than once).
212 if (this._db.isOpen) this._db.close();
213 }
214}
215
216/**

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected