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

Function dbPath

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

Source from the content-addressed store, hash-verified

129describe('codegraph index — recovers a stale/oversized prior index (#1067)', () => {
130 let tempDir: string;
131 const dbPath = (dir: string) => path.join(dir, '.codegraph', 'codegraph.db');
132
133 beforeEach(() => {
134 tempDir = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-index-recover-'));

Callers 1

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected