func (ccs *hasCachingChunkStore) Put(c chunks.Chunk) { r := c.Ref() has, _ := checkCache(ccs, r) if has { return } ccs.backing.Put(c) setCache(ccs, r, true) }