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

Function write

__tests__/sync-path-reference-retry.test.ts:35–40  ·  view source on GitHub ↗
(files: Record<string, string>)

Source from the content-addressed store, hash-verified

33});
34
35function write(files: Record<string, string>): void {
36 for (const [file, text] of Object.entries(files)) {
37 fs.mkdirSync(path.dirname(path.join(root!, file)), { recursive: true });
38 fs.writeFileSync(path.join(root!, file), text);
39 }
40}
41
42describe('referenceNameTail', () => {
43 it('parks a reference written as a path under the name of the file it names', () => {

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected