MCPcopy Create free account
hub / github.com/different-ai/opencode-browser / ensureDir

Function ensureDir

bin/cli.js:175–177  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

173}
174
175function ensureDir(p) {
176 mkdirSync(p, { recursive: true });
177}
178
179function resolveNodePath() {
180 if (process.env.OPENCODE_BROWSER_NODE) return process.env.OPENCODE_BROWSER_NODE;

Callers 6

writeHostWrapperFunction · 0.85
copyDirRecursiveFunction · 0.85
writeNativeHostManifestFunction · 0.85
saveConfigFunction · 0.85
installFunction · 0.85
updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected