MCPcopy Create free account
hub / github.com/ShipSecAI/studio / ensureDir

Function ensureDir

e2e-tests/scripts/setup-e2e-env.ts:74–79  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

72}
73
74function ensureDir(path: string) {
75 const dir = dirname(path);
76 if (!existsSync(dir)) {
77 mkdirSync(dir, { recursive: true });
78 }
79}
80
81async function main() {
82 const rl = createInterface({ input, output });

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected