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

Method mkdirSync

lib/internal/vfs/file_system.js:328–331  ·  view source on GitHub ↗

* Creates a directory synchronously. * @param {string} dirPath The directory path * @param {object} [options] Options * @returns {string|undefined}

(dirPath, options)

Source from the content-addressed store, hash-verified

326 * @returns {string|undefined}
327 */
328 mkdirSync(dirPath, options) {
329 const providerPath = this.#toProviderPath(dirPath);
330 return this[kProvider].mkdirSync(providerPath, options);
331 }
332
333 /**
334 * Removes a directory synchronously.

Callers 1

mkdtempSyncMethod · 0.45

Calls 1

#toProviderPathMethod · 0.95

Tested by

no test coverage detected