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

Function writeFiles

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

Source from the content-addressed store, hash-verified

7867 });
7868
7869 const writeFiles = (files: Record<string, string>, root = tempDir): void => {
7870 for (const [file, text] of Object.entries(files)) {
7871 fs.mkdirSync(path.dirname(path.join(root, file)), { recursive: true });
7872 fs.writeFileSync(path.join(root, file), text);
7873 }
7874 };
7875 // A theme at the project root, a theme in a folder marked only by its settings
7876 // schema, and one in a folder with no 404 section and no price snippet of its
7877 // 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