BurntSushi / rust-snappy

Snappy compression implemented in Rust (including the Snappy frame format).
BSD 3-Clause "New" or "Revised" License
444 stars 43 forks source link

szip compression on a directory #21

Closed hongxuchen closed 4 years ago

hongxuchen commented 5 years ago

When running szip mydir (both cargo install version and github HEAD) where mydir is a directory, it will report mydir: Is a directory (os error 21) with exit code 0, while gzip exits with 2; the more annoying issue is that szip will create a dummy mydir.sz.