Skip to content

fs: add throwIfNoEntry option for fs.stat and fs.promises.stat - #61178

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
juanarbol:juan/fs-throwifnoentry
Feb 11, 2026
Merged

nodejs-github-bot merged 1 commit into
nodejs:mainfrom
juanarbol:juan/fs-throwifnoentry

Conversation

@juanarbol

Copy link
Copy Markdown
Member

Fixes: #61116

Fixes: nodejs#61116
Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. fs Issues and PRs related to file-system APIs and the fs module. needs-ci PRs that need a full CI run. labels Dec 26, 2025
@codecov

codecov Bot commented Dec 27, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.25000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.53%. Comparing base (5e677d6) to head (6989430).
⚠️ Report is 532 commits behind head on main.

Files with missing lines Patch % Lines
src/node_file.cc 73.91% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #61178      +/-   ##
==========================================
+ Coverage   88.52%   88.53%   +0.01%     
==========================================
  Files         703      703              
  Lines      208585   208610      +25     
  Branches    40225    40235      +10     
==========================================
+ Hits       184650   184702      +52     
+ Misses      15953    15911      -42     
- Partials     7982     7997      +15     
Files with missing lines Coverage Δ