• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dennisdoomen / pathy / 31405105120
96%

Build:
DEFAULT BRANCH: main
Ran 10 Aug 2026 03:45PM UTC
Jobs 1
Files 3
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Aug 2026 03:43PM UTC coverage: 96.85% (-0.3%) from 97.118%
31405105120

push

github

web-flow
Add Matches(pattern) for pattern matching without touching the file system (#162)

* Test

* Add Matches(pattern) for pure in-memory glob matching (#142)

Adds ChainablePathGlobbingExtensions.Matches(string) and
Matches(params string[]) to Pathy.Globbing, letting a ChainablePath be
tested against one or more glob patterns without touching the file
system (the path does not need to exist).

Implementation uses Matcher.Match(root, file), which performs a pure
in-memory string match via InMemoryDirectoryInfo and never enumerates
or reads from disk. Rooted paths are matched relative to their
drive/volume root so patterns like `src/**/*.cs` match regardless of
where on that drive the path lives; relative paths fall back to the
current working directory, consistent with GlobFiles. Matching uses
the same StringComparison.OrdinalIgnoreCase as GlobFiles.

This delivers the capability requested (but not shipped as public API)
in the closed issue #35, using the plural-safe name Matches with a
multi-pattern overload that returns true if any pattern matches.

Fixes #142

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Dennis Doomen <dennis.doomen@greenchoice.nl>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

108 of 112 branches covered (96.43%)

Branch coverage included in aggregate %.

22 of 22 new or added lines in 1 file covered. (100.0%)

261 of 269 relevant lines covered (97.03%)

152.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31405105120.1 10 Aug 2026 03:45PM UTC 3
96.85
GitHub Action Run
Source Files on build 31405105120
  • Tree
  • List 3
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31405105120
  • 4189a005 on github
  • Prev Build on main (#31400294737)
  • Next Build on main (#31405283827)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc