Skip to main content

import

Function import 

Source
pub fn import<S: Store>(
    repo: &mut Repository<S>,
    bundle: &Bundle,
    policy: &ImportPolicy,
) -> Result<ImportReport>
Expand description

Import a verified, complete bundle. Events already present (same event id at the same position) are skipped, so re-importing is idempotent and a newer export of the same records only appends what is new.