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

umputun / revdiff / 24055872851 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2026 11:15PM UTC
Files 19
Run time 0s
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

06 Apr 2026 11:14PM UTC coverage: 91.116% (-0.05%) from 91.169%
24055872851.1

push

github

web-flow
Detect binary files in diff with size delta and IsBinary flag (#44)

* Detect binary files in diff and show placeholder with file size delta

Binary files in git diffs previously showed as blank (no content) because
ParseUnifiedDiff never found hunk headers for them. Now detects git's
"Binary files ... differ" marker and returns a placeholder enriched with
size info from git diff --stat (e.g. "(binary file: 1.0 KB → 2.0 KB)").

* Add IsBinary field and header-based new/deleted detection for binary diffs

Replace fragile string comparison (Content == BinaryPlaceholder) with an
explicit IsBinary bool on DiffLine. ParseUnifiedDiff now tracks "new file
mode" / "deleted file mode" from diff headers so the placeholder content
is correct even when git diff --stat fails (e.g. non-English locale).
Also clarifies locale assumptions in binaryStatRe and binaryFilesRe
comments and uses binaryChangeKind for accurate create/delete detection
when stat parsing succeeds.

* Refine binary diff helpers

4154 of 4559 relevant lines covered (91.12%)

460.74 hits per line

Source Files on job 24055872851.1
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24055872851
  • 713438b1 on github
  • Prev Job for on master (#24055813812.1)
  • Next Job for on master (#24057135254.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc