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

Function write

__tests__/adaptive-explore-sizing.test.ts:72–73  ·  view source on GitHub ↗
(name: string, body: string)

Source from the content-addressed store, hash-verified

70 fs.mkdirSync(srcDir);
71
72 const write = (name: string, body: string) =>
73 fs.writeFileSync(path.join(srcDir, name), body.trimStart());
74
75 // The interchangeable contract — 4 implementers below => sibling family.
76 write(

Callers 1

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected