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

Method set

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

Source from the content-addressed store, hash-verified

604}
605
606func (c *Client) set(rw *bufio.ReadWriter, item *Item) error {
607 return c.populateOne(rw, "set", item)
608}
609
610// Add writes the given item, if no value already exists for its
611// 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