Skip to main content

with_claims

Function with_claims 

Source
pub fn with_claims(
    found: Vec<Overlap>,
    file: &EditedFile,
    me_agent: &str,
    claims: &[WorkClaim],
) -> Vec<Overlap>
Expand description

Add the live claims that cover file (super::claims::covering) to found: to the claimer’s entry when it also changed the file, else as a OverlapKind::Claimed entry of its own. One claim per agent, the narrowest (longest path).