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

Method rmdirSync

lib/internal/vfs/file_system.js:337–340  ·  view source on GitHub ↗

* Removes a directory synchronously. * @param {string} dirPath The directory path

(dirPath)

Source from the content-addressed store, hash-verified

335 * @param {string} dirPath The directory path
336 */
337 rmdirSync(dirPath) {
338 const providerPath = this.#toProviderPath(dirPath);
339 this[kProvider].rmdirSync(providerPath);
340 }
341
342 /**
343 * Removes a file synchronously.

Callers 1

rmSyncMethod · 0.95

Calls 1

#toProviderPathMethod · 0.95

Tested by

no test coverage detected