refactor: rename DTree to DValue

This commit is contained in:
udo
2026-06-12 11:05:52 +00:00
parent 941f5aea08
commit 7066da3cde
157 changed files with 1203 additions and 1074 deletions
+4 -4
View File
@@ -1,16 +1,16 @@
:sig
DTree zip_list(String zip_file_name)
DValue zip_list(String zip_file_name)
:params
zip_file_name : path to the ZIP archive to inspect
return value : DTree containing archive metadata and an `entries` array
return value : DValue containing archive metadata and an `entries` array
:see
>sys
zip_create
zip_read
zip_extract
DTree
DValue
:content
Reads the central directory from `zip_file_name` and returns structured metadata.
@@ -33,6 +33,6 @@ Each entry contains:
Example:
```uce
DTree info = zip_list("/tmp/example.zip");
DValue info = zip_list("/tmp/example.zip");
print(json_encode(info));
```