Skip to main content

invert

Function invert 

Source
pub fn invert(change: &Change, base: &Value) -> Result<Change, InvertError>
Expand description

Builds the inverse of change relative to its original Snapshot.

A Change does not contain old values, so inversion requires base.