adm-zip
adm-zip copied to clipboard
addFile: is there a way to specify the zipPath ?
From the API documentation, it seems there is a way to specify the zipPath when adding a file from the disk:
[void] addLocalFile(String localPath, String zipPath)
However, I don't see the zipPath argument when adding a file from buffer:
[void] addFile(String entryName, Buffer content, String comment, Number attr)
Is there a way to do so, if so, how ?