guzba / zippy

Pure Nim implementation of deflate, zlib, gzip and zip.
MIT License
246 stars 29 forks source link

100 character file name limit in tarballs #9

Closed beef331 closed 3 years ago

beef331 commented 3 years ago

Currently tarballs cannot have more than 100 characters. Resulting in an error.

guzba commented 3 years ago

Longer file paths in tarballs should work now. Tagged in 0.6.2.

The standard ustar tar file format limits still apply: each path chunk must be < 100 characters and each prefix path to a file name must be < 155 characters.

Ex: a/b/c.txt a, b, and c.txt must individually be < 100 characters long a/b must be < 155 characters long