MCPcopy
hub / github.com/expressjs/generator / mkdir

Function mkdir

bin/express-cli.js:494–499  ·  view source on GitHub ↗

* Make the given dir relative to base. * * @param {string} base * @param {string} dir

(base, dir)

Source from the content-addressed store, hash-verified

492 */
493
494function mkdir (base, dir) {
495 var loc = path.join(base, dir)
496
497 console.log(' \x1b[36mcreate\x1b[0m : ' + loc + path.sep)
498 mkdirp.sync(loc, MODE_0755)
499}
500
501/**
502 * Generate a callback function for commander to warn about renamed option.

Callers 1

createApplicationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected