Skip to content

VfsFile.createZipFromTree() - How to add directory being zipped to the root of the zip? #2282

Answered by soywiz
slickorange asked this question in Q&A
Discussion options

You must be logged in to vote

Does this work for you?

localVfs("/Users/user/files/my_directory").jail().createZipFromTree()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@slickorange
Comment options

Answer selected by slickorange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2281 on August 23, 2024 17:08.