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

Function stateFilePath

packages/cli/src/commands/lambda/state.ts:37–42  ·  view source on GitHub ↗
(
  stackName: string = DEFAULT_STACK_NAME,
  cwd: string = process.cwd(),
)

Source from the content-addressed store, hash-verified

35export const DEFAULT_STACK_NAME = "hyperframes-default";
36
37export function stateFilePath(
38 stackName: string = DEFAULT_STACK_NAME,
39 cwd: string = process.cwd(),
40): string {
41 return join(cwd, STATE_DIR_NAME, `${STATE_FILE_PREFIX}${stackName}.json`);
42}
43
44export function writeStackOutputs(outputs: StackOutputs, cwd: string = process.cwd()): string {
45 const path = stateFilePath(outputs.stackName, cwd);

Callers 6

runRenderFunction · 0.85
state.test.tsFile · 0.85
writeStackOutputsFunction · 0.85
readStackOutputsFunction · 0.85
deleteStackOutputsFunction · 0.85
requireStackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected