Skip to main content

three_way_patch

Function three_way_patch 

Source
pub fn three_way_patch<S: TapeSource, T: TapeSource>(
    base: &S,
    target: &T,
) -> Result<Value>
Expand description

Three-way patch: apply diff to a tape and return as Value

Takes a base tape, computes diff against target tape, applies to base.

ยงErrors

Returns an error if the diff cannot be computed or applied.