* Creates a hard link synchronously. * @param {string} existingPath The existing file path * @param {string} newPath The new link path
(existingPath, newPath)
| 506 | * @param {string} newPath The new link path |
| 507 | */ |
| 508 | linkSync(existingPath, newPath) { |
| 509 | if (this.readonly) { |
| 510 | throw createEROFS('link', newPath); |
| 511 | } |
| 512 | throw new ERR_METHOD_NOT_IMPLEMENTED('linkSync'); |
| 513 | } |
| 514 | |
| 515 | // === SYMLINK OPERATIONS (optional, throw ENOENT by default) === |
| 516 |
no test coverage detected