:sig
function zip_create(path : string, entries : dval) bool

:params
path : archive path
entries : archive entries

:returns
`true` when the server creates the archive.

:content
`zip_create()` creates a ZIP archive from a `dval` map of entry names and content.

:example capy render
var archive := file_temp("/tmp/capy-zip-") + ".zip"
zip_create(archive, dval({"note.txt": "hello"}))
print(zip_read(archive, "note.txt"), "\n")
file_unlink(archive)

:see-group
archives

:see
type/dvalue
