(path, options)
| 259 | return undefined; |
| 260 | }, |
| 261 | readlinkSync(path, options) { |
| 262 | const pathStr = toPathStr(path); |
| 263 | if (pathStr === null) return undefined; |
| 264 | const normalized = resolve(pathStr); |
| 265 | for (let i = 0; i < activeVFSList.length; i++) { |
| 266 | const vfs = activeVFSList[i]; |
| 267 | if (vfs.shouldHandle(normalized)) { |
| 268 | const result = vfs.readlinkSync(normalized, options); |
| 269 | if (options?.encoding === 'buffer') return Buffer.from(result); |
| 270 | return result; |
| 271 | } |
| 272 | } |
| 273 | return undefined; |
| 274 | }, |
| 275 | statfsSync(path, options) { |
| 276 | const pathStr = toPathStr(path); |
| 277 | if (pathStr !== null && findVFSForPath(pathStr) !== null) { |
no test coverage detected
searching dependent graphs…