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

Function write

__tests__/sync-removed-competitor.test.ts:45–45  ·  view source on GitHub ↗
(rel: string, content: string)

Source from the content-addressed store, hash-verified

43 let dir: string;
44 let cg: CodeGraph;
45 const write = (rel: string, content: string) => fs.writeFileSync(path.join(dir, rel), content);
46
47 function callTargets(caller: string): string[] {
48 const node = cg.searchNodes(caller).map((r) => r.node).find((n) => n.name === caller && n.kind === 'function');

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected