junobuild_storage::store

Function create_batch

Source
pub fn create_batch(
    caller: Principal,
    controllers: &Controllers,
    config: &StorageConfig,
    init: InitAssetKey,
    reference_id: Option<ReferenceId>,
    storage_state: &impl StorageStateStrategy,
) -> Result<BatchId, String>