* Removes a file. * @param {string} path The file path * @returns {Promise }
(path)
| 193 | * @returns {Promise<void>} |
| 194 | */ |
| 195 | async unlink(path) { |
| 196 | if (this.readonly) { |
| 197 | throw createEROFS('unlink', path); |
| 198 | } |
| 199 | throw new ERR_METHOD_NOT_IMPLEMENTED('unlink'); |
| 200 | } |
| 201 | |
| 202 | /** |
| 203 | * Removes a file synchronously. |