dyz1990 / sevenz-rust

A 7z decompressor/compressor lib written in pure rust
Apache License 2.0
153 stars 24 forks source link

minor: return entry ref when pushing to writer #10

Closed nlfiedler closed 1 year ago

nlfiedler commented 1 year ago

The push_archive_entry() function on SevenZWriter now returns a reference to the entry that was pushed to the writer. This may be useful to the caller since the entry will have updated values, such as the compressed size.

cargo test passes