* Gets file stats from a file descriptor synchronously. * @param {number} fd The file descriptor * @param {object} [options] Options * @returns {Stats}
(fd, options)
| 631 | * @returns {Stats} |
| 632 | */ |
| 633 | fstatSync(fd, options) { |
| 634 | const vfd = getVirtualFd(fd); |
| 635 | if (!vfd) { |
| 636 | throw createEBADF('fstat'); |
| 637 | } |
| 638 | return vfd.entry.statSync(options); |
| 639 | } |
| 640 | |
| 641 | // ==================== FS Operations (Async with Callbacks) ==================== |
| 642 |