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

Function write

__tests__/jsx-override-dispatch.test.ts:22–22  ·  view source on GitHub ↗
(rel: string, lines: string[])

Source from the content-addressed store, hash-verified

20 beforeAll(async () => {
21 root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-jsx-override-'));
22 const write = (rel: string, lines: string[]) => fs.writeFileSync(path.join(root, rel), lines.join('\n') + '\n');
23 fs.writeFileSync(path.join(root, 'package.json'), JSON.stringify({ name: 'app' }));
24 fs.mkdirSync(path.join(root, 'src'));
25 const classes = [

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected