MCPcopy Create free account
hub / github.com/dotchain/dot / Merge

Method Merge

changes/changes.go:98–98  ·  view source on GitHub ↗

Merge takes the current change and another change that were both applied to the same virtual JSON and returns transformed versions such that: c + otherx = other + cx Otherx captures the intent behind other and cx captures the intent behind the current change. The equation above guarantees that th

(other Change)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

mergeRunMethod · 0.95
TestNilChangeSetFunction · 0.65
prefixMergeMethod · 0.65
TestConvergenceMetaFunction · 0.65
MergeMethod · 0.65
ReverseMergeMethod · 0.65
MergeFunction · 0.65
validateMergeResults1Function · 0.65
validateMergeFunction · 0.65
TestSeqUpdateFunction · 0.65

Implementers 14

myChangeops/pg/pg_test.go
myChangeops/bolt/bolt_test.go
setattrx/rich/setattr.go
myChangechanges/assorted_test.go
Replacechanges/replace.go
PathChangechanges/path.go
Splicechanges/splice.go
Metachanges/meta.go
Movechanges/move.go
poorlyDefinedChangechanges/types/string_test.go
Runchanges/run/run.go
Updaterefs/update.go

Calls

no outgoing calls

Tested by 9

TestNilChangeSetFunction · 0.52
TestConvergenceMetaFunction · 0.52
validateMergeResults1Function · 0.52
validateMergeFunction · 0.52
TestSeqUpdateFunction · 0.52
TestRunMergePathFunction · 0.52
validateMerge1Function · 0.52