Repository navigation
Conversation
|
I was just searching the documentation for this kind of thing, and couldn't find it, so I would like to see this PR get added to the docs. |
|
This pull request has been marked as stale due to 90 days of inactivity. |
|
Still relevant. This is a documentation-only change, and I would like to see this merged. Anything blocking? |
|
There are some conflicts on this PR. If that can be resolved then lgtm. |
cce9707 to
ca9d3de
Compare
|
Rebased on main. While doing so I found that #65392 had already added a full Glob patterns section covering most of what this PR did, so I dropped the duplicated parts. What remains is the note on pattern arrays, the |
Most of the original change is now covered by the "Glob patterns" section added in nodejs#65392. This keeps the remaining parts: how an array of patterns is combined, a pointer to path.matchesGlob() for matching without file system traversal, and an example collecting results with Array.fromAsync(). Refs: nodejs#58981 Assisted-by: a frontier reasoning model Signed-off-by: kovan <xaum.io@gmail.com>
ca9d3de to
4418a3c
Compare
Most of the original scope of this PR (pattern syntax reference, platform case sensitivity, cross-references from
fs.glob()andfs.globSync()) has since landed as the "Glob patterns" section in #65392, so this is now reduced to what that section does not cover:path.matchesGlob()for matching a single path without traversing the file systemArray.fromAsync()Refs: #58981
🤖 Generated with Claude Code