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

Function write

__tests__/sync-route-module-retry.test.ts:222–227  ·  view source on GitHub ↗
(dir: string, files: Files)

Source from the content-addressed store, hash-verified

220});
221
222function write(dir: string, files: Files): void {
223 for (const [file, text] of Object.entries(files)) {
224 fs.mkdirSync(path.dirname(path.join(dir, file)), { recursive: true });
225 fs.writeFileSync(path.join(dir, file), text);
226 }
227}
228
229function routeLinks(graph: CodeGraph): Links {
230 const links: Links = {};

Callers 2

freshRouteLinksFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected