Skip to main content

Module writer

Module writer 

Source
Expand description

Writes an agent archive as a stream: each part is read from its source and written to the file as it goes, hashed per chunk on the way, so a history of any size never sits in memory (and never goes through base64). The manifest is written last, because it holds what the parts turned out to be.

Structs§

ArchiveWriter

Type Aliases§

Signer
Signs the manifest’s bytes: returns the signer’s public key and the signature, or None when this computer cannot sign (the archive is then written unsigned).