MCPcopy Index your code
hub / github.com/GraphiteEditor/Graphite / compute_reverse_delta

Method compute_reverse_delta

document/graph-storage/src/document.rs:340–430  ·  view source on GitHub ↗

Compute the inverse of `delta` against the registry named by `target`. Retirement passes [`RegistryTarget::Snapshot`] so LWW reverses (export target, inputs, attributes, resource hash) capture the true pre-op value rather than the hot-polluted working state.

(&self, target: RegistryTarget, delta: &RegistryDelta)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

commit_opsMethod · 0.80
commit_opFunction · 0.80

Calls 7

reverse_attribute_deltaFunction · 0.85
registry_refMethod · 0.80
sourceMethod · 0.80
getMethod · 0.65
cloneMethod · 0.45
inputsMethod · 0.45
attributesMethod · 0.45

Tested by 3

commit_opFunction · 0.64