Skip to main content

resolve_profiles

Function resolve_profiles 

Source
pub fn resolve_profiles(
    family: &'static str,
    generated_iris: &'static [(&'static str, &'static str)],
    generated_codes: &'static [&'static str],
) -> (&'static [(&'static str, &'static str)], &'static [&'static str])
Expand description

Resolve the profile index for a bag family.

Loaded from the same directory as the shapes, because a shape table and a profile index that disagree would run the wrong rules — the index decides which profile a dataset is, the table decides what that profile checks.