Skip to main content

export

Function export 

Source
pub fn export(
    store: &Store,
    layer: &InstalledLayer,
    dest: &Path,
    platform: &str,
) -> Result<ExportSummary, ArchiveError>
Expand description

Export one installed layer as a directory-shaped OCI image layout, carrying the payloads for platform — the platform this core was installed for. Refuses when the layer has no retained envelope: an unsigned archive is not an artifact of record.