Skip to content

Improve binary detection and broaden test coverage#13

Merged
jcouture merged 1 commit into
mainfrom
feat/binary-detection-and-git-exclusion
Apr 9, 2026
Merged

Improve binary detection and broaden test coverage#13
jcouture merged 1 commit into
mainfrom
feat/binary-detection-and-git-exclusion

Conversation

@jcouture

@jcouture jcouture commented Apr 9, 2026

Copy link
Copy Markdown
Owner
  • add MIME-based binary detection via gofile and wire BinaryCheck through discovery
  • expand default excludes to cover nested .git directories
  • add PDF fixture and extensive coverage tests across app, filesystem, detector, finding, and report layers
  • update dependencies including gofile and golang.org/x/sys

  - add gofile-based BinaryCheck to classify binary magic headers
  - propagate binary check through discovery and eligibility reasons
  - exclude .git directories with recursive pattern default
  - add pdf fixture and broaden coverage across app, filesystem, detector, finding, report
  - bump dependencies including gofile and golang.org/x/sys
@jcouture jcouture merged commit 921e30f into main Apr 9, 2026
1 check passed
@jcouture jcouture deleted the feat/binary-detection-and-git-exclusion branch April 9, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant