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

Method apply_op

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

New local/remote op against the working registry: add ops error on duplicate targets and `Change*` ops error on a missing target, while remove ops no-op when the target is already absent; LWW arms keep the newer-timestamp value (strict `>`). The common entry point for edits.

(&mut self, op: RegistryDelta, timestamp: TimeStamp)