Skip to main content

keep_names_before_update

Function keep_names_before_update 

Source
pub fn keep_names_before_update<L: NamedTypeLinks + ?Sized>(
    log: &mut LinksUndoLog,
    links: &mut L,
    index: u32,
    source: u32,
    target: u32,
) -> Result<()>
Expand description

Keeps the names an update of index to (source target) may take: of the link, and of its usages too when it merges into an equal link and so is deleted.