mirror of
https://github.com/QuasarApp/zip.git
synced 2025-05-01 06:44:33 +00:00
Update README.md
This commit is contained in:
parent
ad87c52a9a
commit
b38024b5dc
11
README.md
11
README.md
@ -245,6 +245,17 @@ void zip_walk(struct zip_t *zip, const char *path) {
|
||||
}
|
||||
```
|
||||
|
||||
* Deletes zip archive entries.
|
||||
```c
|
||||
char *entries[] = {"unused.txt", "remove.ini", "delete.me"};
|
||||
|
||||
struct zip_t *zip = zip_open("foo.zip", 0, 'd');
|
||||
{
|
||||
zip_entries_delete(zip, entries, 3);
|
||||
}
|
||||
zip_close(zip);
|
||||
```
|
||||
|
||||
# Bindings
|
||||
Compile zip library as a dynamic library.
|
||||
```shell
|
||||
|
Loading…
x
Reference in New Issue
Block a user