Skip to main content

settle

Function settle 

Source
pub fn settle(
    owners: &dyn LinkOwners,
    entry_id: &str,
    local: &Links,
    incoming: &[String],
) -> Links
Expand description

The ids of entry_id after a record for it arrived carrying incoming: what this machine had, plus the ids it did not have, except those it must not take. An id held by another entry here, or retired, is refused; so is anything that does not have the shape of an id. The result does not depend on the order records arrive in: the aliases are kept in sorted order and cut to the bound.