1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

szip: add support for unpacking zip archives and simple zip files

This commit is contained in:
koplenov
2021-04-02 02:59:01 +03:00
committed by GitHub
parent c11356be21
commit 9f7cf5cc37
4 changed files with 100 additions and 15 deletions

View File

@ -312,6 +312,8 @@ extern int zip_create(const char *zipname, const char *filenames[], size_t len);
extern int zip_extract(const char *zipname, const char *dir,
int (*on_extract_entry)(const char *filename, void *arg),
void *arg);
// temporary working unzip solution
extern int zip_extract_without_callback(const char *zipname, const char *dir);
/**
* Extracts a zip archive stream into directory.