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

Function write

__tests__/python-overload-stubs.test.ts:26–31  ·  view source on GitHub ↗
(files: Record<string, string>)

Source from the content-addressed store, hash-verified

24}
25
26function write(files: Record<string, string>): void {
27 for (const [rel, source] of Object.entries(files)) {
28 fs.mkdirSync(path.dirname(path.join(tempDir!, rel)), { recursive: true });
29 fs.writeFileSync(path.join(tempDir!, rel), source);
30 }
31}
32
33afterEach(() => {
34 cg?.close();

Callers 2

indexFunction · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected