(path, options)
| 495 | return promise; |
| 496 | }, |
| 497 | lstat(path, options) { |
| 498 | const pathStr = toPathStr(path); |
| 499 | if (pathStr === null) return undefined; |
| 500 | const normalized = resolve(pathStr); |
| 501 | for (let i = 0; i < activeVFSList.length; i++) { |
| 502 | const vfs = activeVFSList[i]; |
| 503 | if (vfs.shouldHandle(normalized)) { |
| 504 | return vfs.promises.lstat(normalized, options); |
| 505 | } |
| 506 | } |
| 507 | return undefined; |
| 508 | }, |
| 509 | stat(path, options) { |
| 510 | const promise = vfsOp(path, (vfs, n) => vfs.promises.stat(n, options)); |
| 511 | if (promise !== undefined && options?.throwIfNoEntry === false) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…