(path, options)
| 897 | } |
| 898 | |
| 899 | realpathSync(path, options) { |
| 900 | const result = this.#lookupEntry(path, true, 0); |
| 901 | if (result.eloop) { |
| 902 | throw createELOOP('realpath', path); |
| 903 | } |
| 904 | if (!result.entry) { |
| 905 | throw createENOENT('realpath', path); |
| 906 | } |
| 907 | return result.resolvedPath; |
| 908 | } |
| 909 | |
| 910 | async realpath(path, options) { |
| 911 | return this.realpathSync(path, options); |
no test coverage detected