cleanup, docs
This commit is contained in:
@@ -27,4 +27,8 @@ An entry may also provide `file` instead of `content`; UCE reads that source fil
|
||||
Entry names are normalized to forward slashes and rejected when they are absolute paths, drive-qualified paths, empty names, or contain `..` path segments.
|
||||
|
||||
:example
|
||||
print("zip_create example\n");
|
||||
DValue entries;
|
||||
entries["readme.txt"] = "hello from UCE";
|
||||
entries["license.txt"] = "MIT license";
|
||||
zip_create("/tmp/doc-zip.zip", entries);
|
||||
print("readme.txt in archive: ", zip_read("/tmp/doc-zip.zip", "readme.txt"), "\n");
|
||||
|
||||
Reference in New Issue
Block a user