cleanup, docs
This commit is contained in:
@@ -15,10 +15,10 @@ zip_read
|
||||
:content
|
||||
Extracts every member in a ZIP archive into `destination_directory`.
|
||||
|
||||
```uce
|
||||
zip_extract("/tmp/example.zip", "/tmp/example-extract");
|
||||
```
|
||||
|
||||
UCE creates the destination directory and any needed child directories when they do not already exist.
|
||||
|
||||
For safety, every member name is normalized and checked before extraction. Absolute paths, drive-qualified paths, empty names, and `..` path segments are rejected so archives cannot write outside the destination directory.
|
||||
|
||||
:example
|
||||
print("zip_extract example\n");
|
||||
|
||||
Reference in New Issue
Block a user