MCPcopy Create free account
hub / github.com/plotly/plotly.js / _initDirectory

Function _initDirectory

tasks/sync_packages.js:290–298  ·  view source on GitHub ↗
(d, pkgPath)

Source from the content-addressed store, hash-verified

288}
289
290function _initDirectory(d, pkgPath) {
291 return function(cb) {
292 if(common.doesDirExist(pkgPath)) {
293 cb();
294 } else {
295 fs.mkdir(pkgPath, cb);
296 }
297 };
298}
299
300function _copyLicense(d, pkgPath) {
301 return function(cb) {

Callers 2

syncPartialBundlePkgFunction · 0.85
syncLocalesPkgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…