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

Function compute_resource_deltas

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

Diff the resource store, emitting whole-entry add/remove for resources that appear or vanish and fine-grained hash/source ops for resources present in both. Value-only: per-entry and per-source timestamps are derived by the caller, so an unchanged resource emits nothing.

(from: &Registry, to: &Registry, deltas: &mut Vec<RegistryDelta>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

compute_deltasFunction · 0.85

Calls 5

sortedFunction · 0.85
diff_resource_entryFunction · 0.85
keysMethod · 0.45
pushMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected