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

Function write

__tests__/ui-flow-api.test.ts:78–82  ·  view source on GitHub ↗
(root: string, rel: string, body: string)

Source from the content-addressed store, hash-verified

76}
77
78function write(root: string, rel: string, body: string): void {
79 const full = path.join(root, rel);
80 fs.mkdirSync(path.dirname(full), { recursive: true });
81 fs.writeFileSync(full, body);
82}
83
84/** `name` at each hop, so an assertion reads like the strip does. */
85function names(flow: any): string[] {

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected