MCPcopy Create free account
hub / github.com/dbProjectRED/redimo.go / setNext

Method setNext

lists.go:120–127  ·  view source on GitHub ↗
(side LSide, address string)

Source from the content-addressed store, hash-verified

118}
119
120func (ln *listNode) setNext(side LSide, address string) {
121 switch side {
122 case Left:
123 ln.right = address
124 case Right:
125 ln.left = address
126 }
127}
128
129func (ln *listNode) setPrev(side LSide, address string) {
130 switch side {

Callers 2

LINSERTMethod · 0.95
listPushActionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected