Skip to main content

classify_ref

Function classify_ref 

Source
pub fn classify_ref<V: Borrow<Value>>(
    component: &str,
    reference: &str,
    pre: &Value,
    candidates: &[V],
    old_names: &BTreeSet<String>,
    trusted: bool,
) -> RefOutcome
Expand description

Classify one reference of a replaced component. pre is the reference’s resolution BEFORE the replace (the kernel row, ok: true); candidates the new part’s entities; old_names the old part’s local entity names (for the split note); trusted = shared lineage.