mrkline / piz-rs

Parallelized zip archive reading
zlib License
35 stars 12 forks source link

Expose unix permissions #7

Open woelper opened 2 years ago

woelper commented 2 years ago

First of all, thanks for this great library. I've tested it against the zip crate, and it's almost 4 times faster on my machine. As I am looking to recover permissions from extracted files similar to unix_mode (https://docs.rs/zip/latest/zip/read/struct.ZipFile.html#method.unix_mode) I wonder if that might be exposed in the file's metadata?

mrkline commented 2 years ago

Give it a shot! Added in 0.5.1: https://docs.rs/piz/0.5.1/piz/read/struct.FileMetadata.html#structfield.unix_mode

woelper commented 2 years ago

I will! Thank you so much, you rock!

mrkline commented 2 years ago

Thanks for 8+ months of patience. :sweat_smile: I hope life has been good in the meantime!