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

Method ReverseAppend

streams/stream.go:108–108  ·  view source on GitHub ↗

ReverseAppend is just like Append except ReverseMerge is used instead of Merge. ReverseAppend is used to when a remote change is being appended -- with the newly appended change actually taking precedence over all other changes that have been applied on top of the current instance.

(changes.Change)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

ReverseAppendMethod · 0.65
pullMethod · 0.65
TestPanicFunction · 0.65
InvalidRefMethod · 0.65
ParentAppendOtherMethod · 0.65
ParentAppendOwnMethod · 0.65
FieldAppendMethod · 0.65
ReverseAppendMethod · 0.65
mergeMethod · 0.65
ReverseAppendMethod · 0.65
applyMethod · 0.65
TestBranchReverseAppendFunction · 0.65

Implementers 3

branchstreams/branch.go
streamstreams/stream.go
streamstreams/undo/stream.go

Calls

no outgoing calls

Tested by 8

TestPanicFunction · 0.52
InvalidRefMethod · 0.52
ParentAppendOtherMethod · 0.52
ParentAppendOwnMethod · 0.52
FieldAppendMethod · 0.52
TestBranchReverseAppendFunction · 0.52
ReverseAppendMethod · 0.52
TestReverseAppendFunction · 0.52