Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 573 Bytes

zip.md

File metadata and controls

41 lines (31 loc) · 573 Bytes

Zip

ZIP_Open(<filepath>)

Open a zip file.

zip = ZIP_Open("file.zip");

ZIP_Close(<zip>)

Close a zip file.

ZIP_Close(zip);

ZIP_Add(<zip>, <filepath>, <outpath>)

Add a file to the zip archive.

ZIP_Add(zip, "temp/test.txt", "test.txt");

ZIP_Rename(<zip>, <filepath>, <renamepath>)

Rename a file in the zip archive.

ZIP_Rename(zip, "test.txt", "test_new.txt");

ZIP_Close(<zip>, <filepath>)

Delete a file in the zip archive.

ZIP_Delete(zip, filepath);