MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / LPush

Method LPush

internal/data/list.go:156–158  ·  view source on GitHub ↗
(key string, r *core.Record)

Source from the content-addressed store, hash-verified

154}
155
156func (l *List) LPush(key string, r *core.Record) error {
157 return l.Push(key, r, true)
158}
159
160func (l *List) RPush(key string, r *core.Record) error {
161 return l.Push(key, r, false)

Callers 2

TestList_Push_SuccessFunction · 0.95
ListPushFunction · 0.45

Calls 1

PushMethod · 0.95

Tested by 2

TestList_Push_SuccessFunction · 0.76
ListPushFunction · 0.36