Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
74
function
ensureDir(path: string) {
75
const
dir = dirname(path);
76
if
(!existsSync(dir)) {
77
mkdirSync(dir, { recursive: true });
78
}
79
}
80
81
async
function
main() {
82
const
rl = createInterface({ input, output });
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected