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

Function writeFiles

__tests__/extraction.test.ts:7872–7877  ·  view source on GitHub ↗
(files: Record<string, string>, root = tempDir)

Source from the content-addressed store, hash-verified

7870 });
7871
7872 const writeFiles = (files: Record<string, string>, root = tempDir): void => {
7873 for (const [file, text] of Object.entries(files)) {
7874 fs.mkdirSync(path.dirname(path.join(root, file)), { recursive: true });
7875 fs.writeFileSync(path.join(root, file), text);
7876 }
7877 };
7878 // A theme at the project root, a theme in a folder marked only by its settings
7879 // schema, and one in a folder with no 404 section and no price snippet of its
7880 // own — the shape of panoply/syncify's example themes.

Callers 1

extraction.test.tsFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected