MCPcopy Create free account
hub / github.com/garrytan/gstack / writeFiles

Function writeFiles

test/ship-version-sync.test.ts:23–27  ·  view source on GitHub ↗
(files: Record<string, string>)

Source from the content-addressed store, hash-verified

21});
22
23const writeFiles = (files: Record<string, string>) => {
24 for (const [name, content] of Object.entries(files)) {
25 writeFileSync(join(dir, name), content);
26 }
27};
28
29const pkgJson = (version: string | null, extra: Record<string, unknown> = {}) =>
30 JSON.stringify(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected