MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / ensureDir

Function ensureDir

scripts/spec-init.ts:54–56  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

52}
53
54function ensureDir(path: string): void {
55 mkdirSync(path, { recursive: true });
56}
57
58function writeIfMissing(
59 destination: string,

Callers 3

writeIfMissingFunction · 0.85
copyIfMissingFunction · 0.85
runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected