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

Function write

__tests__/frameworks-integration.test.ts:1593–1596  ·  view source on GitHub ↗
(rel: string, lines: string[])

Source from the content-addressed store, hash-verified

1591 fs.mkdirSync(path.join(tmpDir, 'conf'), { recursive: true });
1592 fs.writeFileSync(path.join(tmpDir, 'conf/routes'), 'GET / controllers.Home.index\n');
1593 const write = (rel: string, lines: string[]) => {
1594 fs.mkdirSync(path.dirname(path.join(tmpDir, rel)), { recursive: true });
1595 fs.writeFileSync(path.join(tmpDir, rel), lines.join('\n'));
1596 };
1597 write('app/kafka/Configs.scala', [
1598 'package kafka',
1599 'object Configs {',

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected