pub fn build<W: Write + Seek>(
out: W,
def: &AgentDefinition,
inputs: &Inputs<'_>,
opts: &Options,
limits: Limits,
signer: Option<Signer<'_>>,
) -> Result<(Report, W), ArchiveError>Expand description
Writes the archive of def to out. On an error out holds a partial file, which the caller discards.