MCPcopy Index your code
hub / github.com/bradfitz/gomemcache / replace

Method replace

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

Source from the content-addressed store, hash-verified

624}
625
626func (c *Client) replace(rw *bufio.ReadWriter, item *Item) error {
627 return c.populateOne(rw, "replace", item)
628}
629
630// Append appends the given item to the existing item, if a value already
631// exists for its key. ErrNotStored is returned if that condition is not met.

Callers

nothing calls this directly

Calls 1

populateOneMethod · 0.95

Tested by

no test coverage detected