* Renames a file or directory synchronously. * @param {string} oldPath The old path * @param {string} newPath The new path
(oldPath, newPath)
| 229 | * @param {string} newPath The new path |
| 230 | */ |
| 231 | renameSync(oldPath, newPath) { |
| 232 | if (this.readonly) { |
| 233 | throw createEROFS('rename', oldPath); |
| 234 | } |
| 235 | throw new ERR_METHOD_NOT_IMPLEMENTED('renameSync'); |
| 236 | } |
| 237 | |
| 238 | // === DEFAULT IMPLEMENTATIONS (built on primitives) === |
| 239 |
no test coverage detected