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

Function dbPath

__tests__/index-command.test.ts:182–182  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

180describe('codegraph index — recovers a stale/oversized prior index (#1067)', () => {
181 let tempDir: string;
182 const dbPath = (dir: string) => path.join(dir, '.codegraph', 'codegraph.db');
183
184 beforeEach(() => {
185 tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-index-recover-'));

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected