pub fn apply_patch_with_context(
patch: &RdfPatch,
context: &PatchContext,
) -> Result<PatchResult>Expand description
Validate (and optionally dry-run) an RDF Patch without persisting it.
This function performs real work — it validates every operation — but it has
no RDF store to mutate. To avoid the fail-loud contract violation of
reporting a fabricated success while the dataset is untouched, it requires
context.dry_run to be set. To actually apply a patch, use
apply_patch_to_sink with a PatchSink, or the store-backed
integration in crate::store_integration.