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

Method Splice

changes/crdt/seq.go:30–50  ·  view source on GitHub ↗

Splice replaces the sub-sequence [offset:offset+remove]

(offset, remove int, replacement []interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestSeqFunction · 0.95
TestSeqMoveFunction · 0.95
TestSeqMove2Function · 0.95
TestSeqUpdateFunction · 0.95

Calls 6

itemsMethod · 0.95
betweenMethod · 0.95
ApplyToMethod · 0.95
NewRankFunction · 0.85
DeleteMethod · 0.45
SetMethod · 0.45

Tested by 4

TestSeqFunction · 0.76
TestSeqMoveFunction · 0.76
TestSeqMove2Function · 0.76
TestSeqUpdateFunction · 0.76