We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fs.fstatSync()
1 parent b809792 commit ac8ab0cCopy full SHA for ac8ab0c
1 file changed
lib/fs.js
@@ -1531,11 +1531,10 @@ function hasNoEntryError(ctx) {
1531
* @param {number} fd
1532
* @param {{
1533
* bigint?: boolean;
1534
- * throwIfNoEntry?: boolean;
1535
* }} [options]
1536
* @returns {Stats}
1537
*/
1538
-function fstatSync(fd, options = { bigint: false, throwIfNoEntry: true }) {
+function fstatSync(fd, options = { bigint: false }) {
1539
fd = getValidatedFd(fd);
1540
const ctx = { fd };
1541
const stats = binding.fstat(fd, options.bigint, undefined, ctx);
0 commit comments