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

Function write

__tests__/ui-entrypoints-api.test.ts:88–92  ·  view source on GitHub ↗
(root: string, rel: string, body: string)

Source from the content-addressed store, hash-verified

86}
87
88function write(root: string, rel: string, body: string): void {
89 const full = path.join(root, rel);
90 fs.mkdirSync(path.dirname(full), { recursive: true });
91 fs.writeFileSync(full, body);
92}
93
94async function stop(instance: Instance | undefined): Promise<void> {
95 if (!instance) return;

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected