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

dennisdoomen / pathy / 36821388277
92%

Build:
DEFAULT BRANCH: main
Ran 01 Oct 2026 05:48AM UTC
Jobs 1
Files 6
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

01 Oct 2026 05:46AM UTC coverage: 91.173% (+1.0%) from 90.193%
36821388277

push

github

dennisdoomen
Add GlobDirectories, Glob and include/exclude support to GlobFiles

Pathy.Globbing only exposed GlobFiles, so matching directories and
excluding patterns (both already supported by the underlying
Microsoft.Extensions.FileSystemGlobbing matcher) were unreachable.
Exclusions in particular are close to essential in real projects,
since almost every glob over a source tree needs to skip bin, obj,
node_modules or .git, and doing that by post-filtering with LINQ is
both slower and more verbose than letting the matcher skip those
directories outright.

- GlobFiles(include, exclude) maps directly onto the matcher's
  AddInclude/AddExclude calls.
- GlobDirectories mirrors GlobFiles but matches directories. The
  matcher itself never reports matched directories, so this enumerates
  the directories under the base path and matches each one's path
  against the patterns instead.
- Glob matches both files and directories for the same pattern(s).

The include/exclude overload keeps both parameters as string[], so a
transposed call compiles without error; this repo's own AV1555
guideline avoids named arguments, so the mitigation here is limiting
it to two clearly-ordered, clearly-named parameters and calling it out
in the XML docs and README rather than in code.

Closes #141

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

206 of 236 branches covered (87.29%)

Branch coverage included in aggregate %.

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

486 of 523 relevant lines covered (92.93%)

116.85 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36821388277.1 01 Oct 2026 05:48AM UTC 6
91.17
GitHub Action Run
Source Files on build 36821388277
  • Tree
  • List 6
  • 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 #36821388277
  • b9097db8 on github
  • Prev Build on main (#36820712329)
  • Next Build on main (#36821431918)
  • 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