Skip to main content

diff_to_patch

Function diff_to_patch 

Source
pub fn diff_to_patch(old: &Graph, new: &Graph) -> RdfPatch
Expand description

Generate a minimal RdfPatch that transforms old into new.

All deletions come before additions in the generated patch, matching the convention used by most RDF Patch tools.