(prefix, options)
| 326 | }); |
| 327 | }, |
| 328 | mkdtempSync(prefix, options) { |
| 329 | const result = vfsOp(prefix, (vfs, n) => vfs.mkdtempSync(n)); |
| 330 | if (result !== undefined && options?.encoding === 'buffer') { |
| 331 | return Buffer.from(result); |
| 332 | } |
| 333 | return result; |
| 334 | }, |
| 335 | opendirSync: (path, options) => vfsOp(path, (vfs, n) => vfs.opendirSync(n, options)), |
| 336 | openAsBlob(path, options) { |
| 337 | const pathStr = toPathStr(path); |
no test coverage detected
searching dependent graphs…