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

Function write

__tests__/resolution.test.ts:5278–5281  ·  view source on GitHub ↗
(rel: string, body: string)

Source from the content-addressed store, hash-verified

5276
5277 describe('Scala Outer.Inner(args) apply vs a Java constructor', () => {
5278 function write(rel: string, body: string): void {
5279 fs.mkdirSync(path.dirname(path.join(tempDir, rel)), { recursive: true });
5280 fs.writeFileSync(path.join(tempDir, rel), body);
5281 }
5282 function edgesFrom(name: string): { kind: string; qn: string; lang: string }[] {
5283 const from = cg.getNodesByKind('method').find((n) => n.name === name);
5284 if (!from) return [];

Callers 1

resolution.test.tsFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected