MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / writeJson

Function writeJson

packages/cli/src/commands/batchRender.test.ts:24–28  ·  view source on GitHub ↗
(name: string, content: string)

Source from the content-addressed store, hash-verified

22});
23
24function writeJson(name: string, content: string): string {
25 const path = join(tmpDir, name);
26 writeFileSync(path, content, "utf8");
27 return path;
28}
29
30function writeIndex(schema = "[]"): string {
31 return writeJson(

Callers 2

writeIndexFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected