* Removes a file synchronously. * @param {string} filePath The file path
(filePath)
| 344 | * @param {string} filePath The file path |
| 345 | */ |
| 346 | unlinkSync(filePath) { |
| 347 | const providerPath = this.#toProviderPath(filePath); |
| 348 | this[kProvider].unlinkSync(providerPath); |
| 349 | } |
| 350 | |
| 351 | /** |
| 352 | * Renames a file or directory synchronously. |