file.file.zip
Declaration
lua
file.zip(output, path1, ...)
Description
Create ZIP archive.
Parameters
`output` (string) — output zip path
`path1, ...` — files/dirs to include
Return Values
`boolean` [, `string` error]
Example
lua
file.zip("archive.zip", "file1.txt", "dir/")