Skip to main content

import

Function import 

Source
pub fn import(path: &Path, storage: &Store) -> Result<ArtifactId, BundleError>
Expand description

Import a .treeship file into local storage.

Reads the export file, re-derives content-addressed IDs for each envelope, and stores everything locally. Returns the bundle’s artifact ID.