(path, options)
| 230 | return undefined; |
| 231 | }, |
| 232 | statSync(path, options) { |
| 233 | try { |
| 234 | return vfsRead(path, 'stat', (vfs, n) => vfs.statSync(n, options)); |
| 235 | } catch (err) { |
| 236 | if (err?.code === 'ENOENT' && options?.throwIfNoEntry === false) return undefined; |
| 237 | throw err; |
| 238 | } |
| 239 | }, |
| 240 | realpathSync(path, options) { |
| 241 | const result = vfsRead(path, 'realpath', (vfs, n) => vfs.realpathSync(n)); |
| 242 | if (result !== undefined && options?.encoding === 'buffer') { |
no test coverage detected
searching dependent graphs…