Skip to content

path: add `matchesGlob` method

Fixes #52779 (closed)

This PR adds a new function: path.matchesGlob(path, pattern). It checks whether a glob (pattern) matches the input path (path).

Notable change text, if you'd like to include it:

Glob patterns can now be tested against individual paths via the `path.matchesGlob(path, pattern)` method.

Merge request reports

Loading