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

Method next

lists.go:76–85  ·  view source on GitHub ↗
(side LSide)

Source from the content-addressed store, hash-verified

74}
75
76func (ln listNode) next(side LSide) (address string) {
77 switch side {
78 case Left:
79 address = ln.right
80 case Right:
81 address = ln.left
82 }
83
84 return
85}
86
87func (ln listNode) prev(side LSide) (address string) {
88 switch side {

Callers 4

updateSideActionMethod · 0.95
listNodeAtIndexMethod · 0.80
listNodeAtPivotMethod · 0.80
listPopActionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected