MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / diff_resource_entry

Function diff_resource_entry

document/graph-storage/src/delta.rs:164–185  ·  view source on GitHub ↗

Per-entry diff for a resource present in both registries: hash change, then source chain additions/changes/removals.

(id: ResourceId, from: &ResourceEntry, to: &ResourceEntry, deltas: &mut Vec<RegistryDelta>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

compute_resource_deltasFunction · 0.85

Calls 3

sourceMethod · 0.80
pushMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected