Expand description
zip: on a destination entry: the output’s files, plus every attach:ed output’s, packed
flat into one zip during the run, optionally with a password (AES-256 by default, ZipCrypto
on request). The zip is built in the run folder, so a held entry records it and its SHA-256,
and dre release sends exactly those bytes.
Structs§
- ZipSpec
- A destination entry’s
zip:, as written: the password may hold Jinja.
Enums§
- Encryption
- How a zip’s files are encrypted.
Functions§
- build
- Pack
filesflat into the zipto. Entries carry a fixed date, so the same files make the same zip (without a password; encryption salts are random). - entry_
names - The flat names the files take in the zip; two files with one name are an error.
- zip_
name - The zip’s file name: the last part of the destination’s
path, else<output>.zip. An error when the path ends in another extension.