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

Function readConfig

__tests__/include-ignored-config.test.ts:101–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 fs.rmSync(dir, { recursive: true, force: true });
100 });
101 const readConfig = () => JSON.parse(fs.readFileSync(path.join(dir, 'codegraph.json'), 'utf-8'));
102
103 it('creates codegraph.json when none exists', () => {
104 expect(addIncludeIgnoredPatterns(dir, ['mtc-a/', 'mtc-b/'])).toBe(2);

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected