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

Method rmdir

lib/internal/vfs/provider.js:172–177  ·  view source on GitHub ↗

* Removes a directory. * @param {string} path The directory path * @returns {Promise }

(path)

Source from the content-addressed store, hash-verified

170 * @returns {Promise<void>}
171 */
172 async rmdir(path) {
173 if (this.readonly) {
174 throw createEROFS('rmdir', path);
175 }
176 throw new ERR_METHOD_NOT_IMPLEMENTED('rmdir');
177 }
178
179 /**
180 * Removes a directory synchronously.

Callers 15

try_rmdir_rFunction · 0.45
rmdirFunction · 0.45
rmdirSyncFunction · 0.45
createVfsHandlersFunction · 0.45
rmdirFunction · 0.45
mkdirFunction · 0.45
mktmpFunction · 0.45
rmdirFunction · 0.45

Calls 1

createEROFSFunction · 0.85

Tested by

no test coverage detected