We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fs.fstatSync()
1 parent 90eaae3 commit bbbb446Copy full SHA for bbbb446
lib/fs.js
@@ -1529,11 +1529,10 @@ function hasNoEntryError(ctx) {
1529
* @param {number} fd
1530
* @param {{
1531
* bigint?: boolean;
1532
- * throwIfNoEntry?: boolean;
1533
* }} [options]
1534
* @returns {Stats}
1535
*/
1536
-function fstatSync(fd, options = { bigint: false, throwIfNoEntry: true }) {
+function fstatSync(fd, options = { bigint: false }) {
1537
fd = getValidatedFd(fd);
1538
const ctx = { fd };
1539
const stats = binding.fstat(fd, options.bigint, undefined, ctx);
0 commit comments