MCPcopy
hub / github.com/bradfitz/gomemcache / prepend

Method prepend

memcache/memcache.go:646–648  ·  view source on GitHub ↗
(rw *bufio.ReadWriter, item *Item)

Source from the content-addressed store, hash-verified

644}
645
646func (c *Client) prepend(rw *bufio.ReadWriter, item *Item) error {
647 return c.populateOne(rw, "prepend", item)
648}
649
650// CompareAndSwap writes the given item that was previously returned
651// by Get, if the value was neither modified or evicted between the

Callers

nothing calls this directly

Calls 1

populateOneMethod · 0.95

Tested by

no test coverage detected