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

Function writePolicy

packages/cli/src/commands/lambda/policies.test.ts:223–227  ·  view source on GitHub ↗
(doc: { Version: string; Statement: unknown })

Source from the content-addressed store, hash-verified

221});
222
223function writePolicy(doc: { Version: string; Statement: unknown }): string {
224 const path = join(workdir, "policy.json");
225 writeFileSync(path, JSON.stringify(doc));
226 return path;
227}

Callers 1

policies.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected