Open counter2015 opened 2 weeks ago
In order to keep empty directory inside zip, we should check path is a dir or file, for dir, we should create a zipEntry with one more /
character.
see: https://stackoverflow.com/questions/740375/directories-in-a-zip-file-when-using-java-util-zip-zipoutputstream
version: 0.11.3
I have such files structure.
I try to write this code.
the unzipped file lost emptyDir.
UPD: here is a example