Skip to main content

apply

Function apply 

Source
pub fn apply(
    root: &Path,
    target_ref: Option<&str>,
    other_ref: &str,
    edge: Edge,
    remove: bool,
) -> Result<LinkReport, String>
Expand description

Add or remove one edge, writing both ends when both are local.

root is explicit so this is testable without changing the process directory.