Skip to main content

Module diff

Module diff 

Source
Expand description

Diff/patch functionality for multi-user graph sync

Implements jj-inspired change_id based syncing between local databases and version-controlled patch files.

Structsยง

ApplyResult
Result of applying a patch
GraphPatch
A patch file containing nodes and edges to sync
PatchDocument
A document attachment in a patch file (metadata only, file transferred out-of-band)
PatchEdge
An edge in a patch file (uses change_ids for references)
PatchNode
A node in a patch file (uses change_id, not integer id)
PatchNodeTheme
A node-theme association in a patch file
PatchTheme
A theme definition in a patch file