MCPcopy Index your code
hub / github.com/nodejs/node / mkdir

Method mkdir

lib/internal/vfs/provider.js:148–153  ·  view source on GitHub ↗

* Creates a directory. * @param {string} path The directory path * @param {object} [options] Options * @returns {Promise }

(path, options)

Source from the content-addressed store, hash-verified

146 * @returns {Promise<void>}
147 */
148 async mkdir(path, options) {
149 if (this.readonly) {
150 throw createEROFS('mkdir', path);
151 }
152 throw new ERR_METHOD_NOT_IMPLEMENTED('mkdir');
153 }
154
155 /**
156 * Creates a directory synchronously.

Callers 15

configure_intlFunction · 0.45
make_bin_overrideFunction · 0.45
ensure_dirFunction · 0.45
extract_zipFunction · 0.45
shrink-icu-src.pyFile · 0.45
icutrim.pyFile · 0.45
mkdirFunction · 0.45
mkdirSyncFunction · 0.45
mkdirFunction · 0.45
mkdirFunction · 0.45

Calls 1

createEROFSFunction · 0.85

Tested by 4

testFunction · 0.36
add_version_h_fileMethod · 0.36
setup_fuzztests_dirFunction · 0.36
make_dirFunction · 0.36