(path, cb)
| 461 | error: notImplemented("error"), |
| 462 | |
| 463 | readdir(path, cb) { |
| 464 | try { |
| 465 | const entries = new Set(vfs.readdirSync(toVfs(path))); |
| 466 | for (const [pendingPath, entry] of files) { |
| 467 | if (entry.pendingCreate && parentPath(pendingPath) === path) |
| 468 | entries.add(baseName(pendingPath)); |
| 469 | } |
| 470 | cb(0, [...entries]); |
| 471 | } catch (error) { |
| 472 | cb(toErrno(error), []); |
| 473 | } |
| 474 | }, |
| 475 | |
| 476 | getattr(path, cb) { |
| 477 | try { |
nothing calls this directly
no test coverage detected