Expand description
Delta operations: encoding, parsing, application, and diffing.
See docs/PROTOCOL.md § “Tree deltas”. Five operations:
| Op | Wire |
|---|---|
| Add | +<ref>@<parent>[:<pos>] <role> <label> ... |
| Remove | -<ref> |
| Update | ~<ref> <k>=<v> ... |
| Move | ><ref>@<parent>[:<pos>] |
| Replace | *<ref> then indented subtree |
The wire encoding is canonical (attributes sorted, ops in source order); the parser is tolerant.
Enums§
- DeltaOp
- One delta operation.