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

Method Append

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

Append adds a change on top of the current change. If the current change has a Next, this is merged with the next and applied to the Next instead. That way, the change is propagated all the way and applied at the end of the stream. A listener on the stream can expect to get a change that is safe

(changes.Change)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

UpdateMethod · 0.65
ChangingIndexMethod · 0.65
InvalidRefMethod · 0.65
ParentAppendOtherMethod · 0.65
ParentAppendOwnMethod · 0.65
FieldAppendMethod · 0.65
UpdateMethod · 0.65
TestIntStreamFunction · 0.65
UpdateMethod · 0.65
AppendMethod · 0.65
mergeMethod · 0.65
Example_newStreamFunction · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 15

ChangingIndexMethod · 0.52
InvalidRefMethod · 0.52
ParentAppendOtherMethod · 0.52
ParentAppendOwnMethod · 0.52
FieldAppendMethod · 0.52
TestIntStreamFunction · 0.52
Example_newStreamFunction · 0.52
Example_streamMergeFunction · 0.52
Example_streamBranchingFunction · 0.52
TestS16StreamFunction · 0.52
TestS8StreamFunction · 0.52
TestCounterStreamFunction · 0.52