cleanup, docs
This commit is contained in:
@@ -15,10 +15,10 @@ zip_extract
|
||||
:content
|
||||
Reads one file member from a ZIP archive and returns its uncompressed bytes as a `String`.
|
||||
|
||||
```uce
|
||||
String body = zip_read("/tmp/example.zip", "hello.txt");
|
||||
```
|
||||
|
||||
`entry_name` is normalized to forward slashes and rejected when it is empty, absolute, drive-qualified, or contains a `..` path segment.
|
||||
|
||||
Use `zip_list()` when you need to discover entry names before reading them.
|
||||
|
||||
:example
|
||||
print("zip_read example\n");
|
||||
|
||||
Reference in New Issue
Block a user