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

umputun / revdiff / 24053944355

06 Apr 2026 10:15PM UTC coverage: 91.05% (-0.1%) from 91.173%
24053944355

Pull #44

github

melonamin
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.
Pull Request #44: Detect binary files in diff with size delta and IsBinary flag

84 of 98 new or added lines in 2 files covered. (85.71%)

10 existing lines in 1 file now uncovered.

4161 of 4570 relevant lines covered (91.05%)

459.63 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.29
/diff/diff.go


Source Not Available

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