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

Function writeState

packages/cli/src/commands/cloudrun.ts:235–238  ·  view source on GitHub ↗
(state: StackState)

Source from the content-addressed store, hash-verified

233 return join(stateDir(), "cloudrun-state.json");
234}
235function writeState(state: StackState): void {
236 mkdirSync(stateDir(), { recursive: true });
237 writeFileSync(statePath(), JSON.stringify(state, null, 2));
238}
239function readState(args: Record<string, unknown>): StackState {
240 const overrides = {
241 projectId: args.project as string | undefined,

Callers 1

runDeployFunction · 0.85

Calls 2

stateDirFunction · 0.85
statePathFunction · 0.85

Tested by

no test coverage detected