Пример #1
0
// Get fetches a Chunk. See chunks.Store.Get.
func (c *InMemory) Get(key cas.Key, typ string, level uint8) (*chunks.Chunk, error) {
	return chunkutil.HandleGet(c.get, key, typ, level)
}
Пример #2
0
func (s *storeInKV) Get(key cas.Key, type_ string, level uint8) (*chunks.Chunk, error) {
	return chunkutil.HandleGet(s.get, key, type_, level)
}