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

dennisdoomen / pathy / 31413386981
96%

Build:
DEFAULT BRANCH: main
Ran 10 Aug 2026 05:21PM UTC
Jobs 1
Files 5
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 05:18PM UTC coverage: 95.591% (+0.1%) from 95.445%
31413386981

push

github

dennisdoomen
Add IFormattable support and document/validate edge-case path behaviour

- ChainablePath now implements IFormattable via ToString(format), with
  'U' and 'W' specifiers (and matching ToUnixPath()/ToWindowsPath() helpers)
  to render a path with forward or backward slashes regardless of platform.
- Add ChainablePath.IsValid: a best-effort check for characters that are
  invalid on the current platform, using Path.GetInvalidPathChars() and
  Path.GetInvalidFileNameChars(), ignoring the root so drive letters and
  UNC shares aren't flagged.
- Fix Parent throwing ArgumentException at a root path (drive root or UNC
  share root); it now returns Empty, consistent with Directory, so walking
  up a UNC path correctly stops at the share instead of throwing.
- Add specs pinning down behaviour for invalid characters, long paths
  (including the \\?\ extended-length prefix) and UNC paths (IsRooted,
  Root, Parent, AsRelativeTo).
- Document all of the above in the README, and update the approved API
  surface accordingly.

Closes #149

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

140 of 152 branches covered (92.11%)

Branch coverage included in aggregate %.

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

8 existing lines in 1 file now uncovered.

337 of 347 relevant lines covered (97.12%)

146.22 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
96.78
0.08% Pathy/ChainablePath.cs
Jobs
ID Job ID Ran Files Coverage
1 31413386981.1 10 Aug 2026 05:21PM UTC 5
95.59
GitHub Action Run
Source Files on build 31413386981
  • Tree
  • List 5
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31413386981
  • 599fa808 on github
  • Prev Build on main (#31411743555)
  • Next Build on main (#32056269970)
  • 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