BlobIDCacheKey computes the cache key for the provided blob ID.
(id blob.ID)
| 50 | |
| 51 | // BlobIDCacheKey computes the cache key for the provided blob ID. |
| 52 | func BlobIDCacheKey(id blob.ID) string { |
| 53 | return string(id[1:] + id[0:1]) |
| 54 | } |
| 55 | |
| 56 | func (c *contentCacheImpl) GetContent(ctx context.Context, contentID string, blobID blob.ID, offset, length int64, output *gather.WriteBuffer) error { |
| 57 | if c.fetchFullBlobs { |
no outgoing calls