Skip to main content

create

Function create 

Source
pub fn create(
    artifact_ids: &[&str],
    tag: Option<&str>,
    description: Option<&str>,
    storage: &Store,
    signer: &dyn Signer,
) -> Result<CreateResult, BundleError>
Expand description

Create a bundle from a list of artifact IDs.

Reads each artifact from storage, builds a BundleStatement referencing them, signs it, and stores the bundle as a regular artifact.