Skip to content

fs: add followSymlinks option to glob#62695

Open
mcollina wants to merge 2 commits intonodejs:mainfrom
mcollina:fs-glob-follow-symlinks
Open

fs: add followSymlinks option to glob#62695
mcollina wants to merge 2 commits intonodejs:mainfrom
mcollina:fs-glob-follow-symlinks

Conversation

@mcollina
Copy link
Copy Markdown
Member

Add a followSymlinks option to fs.glob(), fs.globSync(), and fsPromises.glob(), with tests and docs.

@nodejs-github-bot nodejs-github-bot added fs Issues and PRs related to the fs subsystem / file system. needs-ci PRs that need a full CI run. labels Apr 11, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 11, 2026

Codecov Report

❌ Patch coverage is 91.47727% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.80%. Comparing base (449a93a) to head (3a8efcd).
⚠️ Report is 53 commits behind head on main.

Files with missing lines Patch % Lines
lib/internal/fs/glob.js 91.47% 14 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #62695      +/-   ##
==========================================
+ Coverage   89.78%   89.80%   +0.02%     
==========================================
  Files         697      699       +2     
  Lines      215749   216527     +778     
  Branches    41294    41418     +124     
==========================================
+ Hits       193705   194460     +755     
- Misses      14124    14152      +28     
+ Partials     7920     7915       -5     
Files with missing lines Coverage Δ
lib/internal/fs/glob.js 91.48% <91.47%> (+0.07%) ⬆️

... and 63 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fs Issues and PRs related to the fs subsystem / file system. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants