We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fs.fstatSync()
1 parent 054b1d9 commit 0ccc172Copy full SHA for 0ccc172
lib/fs.js
@@ -1537,11 +1537,10 @@ function hasNoEntryError(ctx) {
1537
* @param {number} fd
1538
* @param {{
1539
* bigint?: boolean;
1540
- * throwIfNoEntry?: boolean;
1541
* }} [options]
1542
* @returns {Stats}
1543
*/
1544
-function fstatSync(fd, options = { bigint: false, throwIfNoEntry: true }) {
+function fstatSync(fd, options = { bigint: false }) {
1545
fd = getValidatedFd(fd);
1546
const ctx = { fd };
1547
const stats = binding.fstat(fd, options.bigint, undefined, ctx);
0 commit comments