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

Function deleteStackOutputs

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

Source from the content-addressed store, hash-verified

62}
63
64export function deleteStackOutputs(
65 stackName: string = DEFAULT_STACK_NAME,
66 cwd: string = process.cwd(),
67): void {
68 const path = stateFilePath(stackName, cwd);
69 if (existsSync(path)) rmSync(path);
70}
71
72export function listStackNames(cwd: string = process.cwd()): string[] {
73 const dir = join(cwd, STATE_DIR_NAME);

Callers 2

state.test.tsFile · 0.85
runDestroyFunction · 0.85

Calls 1

stateFilePathFunction · 0.85

Tested by

no test coverage detected