* Removes a directory. * @param {string} path The directory path * @returns {Promise }
(path)
| 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. |
no test coverage detected