Skip to main content

build_migration_bundle

Function build_migration_bundle 

Source
pub fn build_migration_bundle(
    quins: &[NQuin],
    lexicon: Option<&HashMap<u64, String>>,
    opts: &SolidMigrationOptions,
) -> Result<SolidMigrationBundle, String>
Expand description

Build a portable Solid RDF bundle from Quins (+ optional Q42LEX map).

Fails with SANCTUARY_CHOICE_REQUIRED when sanctuary data is present and sanctuary_choice is still Unset.