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

Method ensure_referenced_exist

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

Resurrect (from history) any nodes/networks an op references that were concurrently removed, so the op applies against a consistent registry. Cascading: a node's owning network is restored before the node. No-op for ops that reference nothing absent.

(&mut self, target: RegistryTarget, op: &RegistryDelta)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

apply_op_withMethod · 0.80

Calls 3

ensure_network_existsMethod · 0.80
ensure_node_existsMethod · 0.80
networkMethod · 0.45

Tested by

no test coverage detected