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

Function writeConfig

__tests__/multi-repo-workspace.test.ts:62–64  ·  view source on GitHub ↗
(obj: unknown)

Source from the content-addressed store, hash-verified

60
61 /** Drop a `codegraph.json` at the workspace root. */
62 const writeConfig = (obj: unknown) =>
63 fs.writeFileSync(path.join(ws, 'codegraph.json'),
64 typeof obj === 'string' ? obj : JSON.stringify(obj));
65
66 describe('default: .gitignore is respected (#970, #976)', () => {
67 it('does NOT index embedded repos inside a gitignored dir without opt-in', () => {

Callers 1

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected