Title: fs.stat and fsPromises.stat documentation do not indicate that throwIfNoEntry was added in Node version 25.7.0 · Issue #62185 · nodejs/node · GitHub
Open Graph Title: fs.stat and fsPromises.stat documentation do not indicate that throwIfNoEntry was added in Node version 25.7.0 · Issue #62185 · nodejs/node
X Title: fs.stat and fsPromises.stat documentation do not indicate that throwIfNoEntry was added in Node version 25.7.0 · Issue #62185 · nodejs/node
Description: Affected URL(s) https://nodejs.org/docs/latest/api/fs.html Description of the problem File system documentation does not indicate that this feature was added recently and can cause confusion. fs.stat fsPromises.stat I don't have my devel...
Open Graph Description: Affected URL(s) https://nodejs.org/docs/latest/api/fs.html Description of the problem File system documentation does not indicate that this feature was added recently and can cause confusion. fs.st...
X Description: Affected URL(s) https://nodejs.org/docs/latest/api/fs.html Description of the problem File system documentation does not indicate that this feature was added recently and can cause confusion. fs.st...
Opengraph URL: https://github.com/nodejs/node/issues/62185
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fs.stat and fsPromises.stat documentation do not indicate that throwIfNoEntry was added in Node version 25.7.0","articleBody":"### Affected URL(s)\n\nhttps://nodejs.org/docs/latest/api/fs.html\n\n### Description of the problem\n\nFile system documentation does not indicate that this feature was added recently and can cause confusion.\n\n[fs.stat](https://nodejs.org/docs/latest/api/fs.html#fsstatpath-options-callback)\n[fsPromises.stat](https://nodejs.org/docs/latest/api/fs.html#fspromisesstatpath-options)\n\nI don't have my development environment setup right now, otherwise I'd make a quick PR for this.\nChanges should probably look something like this:\n```\n - version:\n - v25.7.0\n pr-url: https://github.com/nodejs/node/pull/61178\n description: Accepts a `throwIfNoEntry` option to specify whether\n an exception should be thrown if the entry does not exist.","author":{"url":"https://github.com/Justin-Nietzel","@type":"Person","name":"Justin-Nietzel"},"datePublished":"2026-03-10T14:01:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/62185/node/issues/62185"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:53c72692-5e9b-03e0-ee2f-8c3f8ac370b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEA2:28A9BA:2DEFA:3E308:6A4D1130 |
| html-safe-nonce | 1790eccbff19568a8b5717c821ca9aad84b26d70b26145a2e316eaf3126238b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUEyOjI4QTlCQToyREVGQTozRTMwODo2QTREMTEzMCIsInZpc2l0b3JfaWQiOiIyMTIwMzc3MTc5MTcwNDc2MzM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e349533471e6dcaa72778f1f95b971902e9c8b604f2ef63e422696e4015ee8c0 |
| hovercard-subject-tag | issue:4052017289 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/62185/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a96aa8f917bb5415471f053c0ce6634ef9fd12cf869d24df6cfb6b9decad772c/nodejs/node/issues/62185 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a96aa8f917bb5415471f053c0ce6634ef9fd12cf869d24df6cfb6b9decad772c/nodejs/node/issues/62185 |
| og:image:alt | Affected URL(s) https://nodejs.org/docs/latest/api/fs.html Description of the problem File system documentation does not indicate that this feature was added recently and can cause confusion. fs.st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Justin-Nietzel |
| hostname | github.com |
| expected-hostname | github.com |
| None | f02420044fa3730a0607f4a52546bdd73f5ae60187ef57d284ecb6d7f3f1d880 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f0b6a62c1f0be1086cb0b5b077b82cebe520eb42 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width