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

OSSystems / compress-tools-rs / 24838247186

23 Apr 2026 12:42PM UTC coverage: 77.836% (+0.2%) from 77.628%
24838247186

push

github

otavio
fix: auto-rewind source reader on seekable entry points

Callers previously had to manually `seek(SeekFrom::Start(0))` between
successive uses of the same reader (e.g. list_archive_files followed by
uncompress_archive_file), because libarchive only recognizes the archive
format from byte 0. Forgetting the rewind surfaced as an opaque
"unrecognized format" error.

Since the public entry points already require `Read + Seek`, rewind the
reader at the top of `run_with_archive` and `ArchiveIterator::new` so
reader reuse works out of the box.

Closes #117

1928 of 2477 relevant lines covered (77.84%)

87.85 hits per line

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

89.88
/src/iterator.rs


Build SHA Not Found

The commit SHA "0139bff9b9b75a34df5b81a3db57ba79dbffb310" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

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