Skip to main content

lineage_keys

Function lineage_keys 

Source
pub fn lineage_keys(
    document: &Value,
    identity: &str,
    canonicalize: &dyn Fn(&str) -> String,
) -> BTreeSet<String>
Expand description

The lineage keys of a part: its own source identity, every identity it was saved from (derivedFrom) and its family (family:<file>), each passed through canonicalize (stores spell one file several ways). Two parts share lineage when their key sets intersect.