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

OSSystems / compress-tools-rs / 24839086740
78%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2026 01:53PM UTC
Jobs 1
Files 16
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

23 Apr 2026 01:50PM UTC coverage: 78.373% (+0.5%) from 77.836%
24839086740

push

github

otavio
feat: expose ArchiveIteratorBuilder::mtree_format opt-out

libarchive's mtree format handler is permissive — it matches free-form text such as a
plain gunzip'd text file and yields bogus entries for input that isn't really an mtree
specification. The default behavior preserves libarchive's output (including on the raw
entry points), but strict callers iterating with ArchiveIterator may want to reject the
match instead of acting on the invalid entries.

- Add ArchiveIteratorBuilder::mtree_format(bool); default true preserves libarchive's
  permissive behavior, false rejects entries whose archive_format base mask indicates
  ARCHIVE_FORMAT_MTREE
- Gate the rejection inside ArchiveIterator::unsafe_next_header on the new flag,
  delegating to a module-private reject_mtree_format helper only when the caller opted
  out
- Expose archive_format plus ARCHIVE_FORMAT_BASE_MASK / ARCHIVE_FORMAT_MTREE through the
  FFI bindings and generate-ffi script so the rejection can consult libarchive's format
  code
- Extend CHANGES.md and the crate-level docs to describe the iterator-only opt-out
- Add an integration test that feeds tests/fixtures/file.txt.gz through the iterator
  with mtree_format(false) and asserts that the surface errors out

31 of 38 new or added lines in 2 files covered. (81.58%)

68 existing lines in 4 files now uncovered.

2004 of 2557 relevant lines covered (78.37%)

87.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
93.64
-0.11% tests/integration_test.rs
3
90.46
0.58% src/iterator.rs

Coverage Regressions

Lines Coverage ∆ File
43
87.33
0.41% src/lib.rs
15
90.46
0.58% src/iterator.rs
9
93.64
-0.11% tests/integration_test.rs
1
70.03
-0.31% src/async_support.rs
Jobs
ID Job ID Ran Files Coverage
1 24839086740.1 23 Apr 2026 01:53PM UTC 16
78.37
GitHub Action Run
Source Files on build 24839086740
  • Tree
  • List 16
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24839086740
  • 715e03e7 on github
  • Prev Build on master (#24838247186)
  • Next Build on master (#24839910144)
  • 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