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

Method merge

document/graph-storage/src/session.rs:269–295  ·  view source on GitHub ↗

Integrate `incoming` retired deltas from another branch and emit a [`RegistryDelta::Merge`] joining the resulting tips, returning the new merge `Rev` (or `None` if `incoming` adds nothing). Applies each incoming op to the registry, then hands the set to [`History::merge`]. Incoming deltas must arrive in causal order.

(&mut self, incoming: impl IntoIterator<Item = Delta>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

apply_op_idempotentMethod · 0.80
tipsMethod · 0.80
tickMethod · 0.80
containsMethod · 0.45
cloneMethod · 0.45
pushMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected