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

Method cas

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

Source from the content-addressed store, hash-verified

659}
660
661func (c *Client) cas(rw *bufio.ReadWriter, item *Item) error {
662 return c.populateOne(rw, "cas", item)
663}
664
665func (c *Client) populateOne(rw *bufio.ReadWriter, verb string, item *Item) error {
666 if !legalKey(item.Key) {

Callers

nothing calls this directly

Calls 1

populateOneMethod · 0.95

Tested by

no test coverage detected