guzba/zippy

Many empty invalid data

gavr123456789 opened this issue · 2 comments

I tried to compress the folder in which there were files with the vin code, everything worked well. Then I was wondering how to go inside folders inside archives and I created the following hierarchy:
image
code:

createTarball("../utils/testFolder", "examples.tar.gz")
var tarbol = Tarball()
tarbol.open("examples.tar.gz")
echo tarbol.contents

And I got this:
image
The wall of invalid data, but there are some correct things, For example I see key: "testFolder/sas"
examples.tar.gz

OS: Arch, nim: 1.4.8

Hmm, cant reproduce anymore, all new archives are good

guzba commented

Closing for now but please do let me know if you see unexpected invalid data again. Certainly don't want Zippy ever returning junk data like that after all.