pub fn load_schema_or_bundle_with_purpose(
    bundle: &mut Map<ModulePath, (Schema, Purpose)>,
    i: &PathBuf,
    purpose: Purpose
) -> Result<()>
Expand description

Loads a Schema or Bundle from path i into bundle for the given purpose.

If i holds a Schema, then the file stem of i is used as the module name when placing the schema in bundle.