Skip to main content

audit_inventory

Function audit_inventory 

Source
pub fn audit_inventory(
    schema: &Schema,
    roots: &[&str],
    inventory: &[&str],
) -> InventoryGap
Expand description

Compare a published inventory against what the schema declares.

roots are the entities the inventory claims to cover, including every entity below them. Names are compared case-insensitively.