doc: enhance glob pattern documentation in fs.md by mag123c · Pull Request #58988 · nodejs/node

@nodejs-github-bot added doc

Issues and PRs related to the documentations.

fs

Issues and PRs related to the fs subsystem / file system.

labels

Jul 8, 2025

iamstarkov

mag123c added a commit to mag123c/node that referenced this pull request

Jul 10, 2025
Clarify that path.matchesGlob() only performs pattern matching,
and does not support the exclude functionality available in
fs.glob methods.

This addresses potential user confusion as noted in code review
feedback.

Refs: nodejs#58988

dmichon-msft

dmichon-msft

mag123c added a commit to mag123c/node that referenced this pull request

Jul 25, 2025
Add note about +(spec|test) pattern matching behavior and provide
more precise alternative using brace expansion. Also clarify that
returned paths use forward slashes and are relative to cwd.

Refs: nodejs#58988

mag123c added a commit to mag123c/node that referenced this pull request

Jul 25, 2025
more precise alternative using brace expansion. Also clarify that
returned paths use forward slashes and are relative to cwd.

Refs: nodejs#58988

mag123c added a commit to mag123c/node that referenced this pull request

Jul 25, 2025
Add note about +(spec|test) pattern matching behavior and provide more precise alternative using brace expansion. Also clarify that returned paths use platform-specific separators.

Refs: nodejs#58988

jasnell

louwers

louwers

louwers

louwers

louwers

louwers

louwers

@mag123c