* Gets file stats synchronously. * @param {object} [options] Options * @returns {Stats}
(options)
| 655 | * @returns {Stats} |
| 656 | */ |
| 657 | statSync(options) { |
| 658 | this.#checkClosed('fstat'); |
| 659 | if (this.#getStats) { |
| 660 | return this.#getStats(this.#size); |
| 661 | } |
| 662 | throw new ERR_INVALID_STATE('stats not available'); |
| 663 | } |
| 664 | |
| 665 | /** |
| 666 | * Gets file stats. |
no test coverage detected