Skip to main content

fork_lineage_root

Function fork_lineage_root 

Source
fn fork_lineage_root<'a>(
    defs: &'a [AgentDefinition],
    source: &'a AgentDefinition,
) -> &'a AgentDefinition
Expand description

The definition at the root of source’s fork lineage (see fork_lineage_root_id); source itself if the root can’t be found.