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

Method ReverseMerge

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

ReverseMerge is used when a "known" change type is merged with a custom type: move.Merge(myType) The known type has no way of figuring out how to merge. It calls ReverseMerge on the custom type to get the custom type to deal with this. This is separate from the regular Merge method because calling

(c Change)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

mergeMethod · 0.65
testReverseMergeFunction · 0.65
MergeMethod · 0.65
prefixMergeMethod · 0.65
TestConvergenceMetaFunction · 0.65
MergeMethod · 0.65
validateMergeResults1Function · 0.65
MergeMethod · 0.65
TestUpdateMergeFunction · 0.65
MergeMethod · 0.65

Implementers 5

setattrx/rich/setattr.go
PathChangechanges/path.go
Metachanges/meta.go
Runchanges/run/run.go
Updaterefs/update.go

Calls

no outgoing calls

Tested by 4

testReverseMergeFunction · 0.52
TestConvergenceMetaFunction · 0.52
validateMergeResults1Function · 0.52
TestUpdateMergeFunction · 0.52