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

Method setPrev

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

Source from the content-addressed store, hash-verified

127}
128
129func (ln *listNode) setPrev(side LSide, address string) {
130 switch side {
131 case Left:
132 ln.left = address
133 case Right:
134 ln.right = address
135 }
136}
137
138func (ln listNode) updateBothSidesAction(newLeft string, newRight string, c Client) dynamodb.TransactWriteItem {
139 updater := newExpresionBuilder()

Callers 3

LINSERTMethod · 0.95
listPushActionsMethod · 0.95
listPopActionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected