(ctx context.Context, contentID string, blobID blob.ID, offset, length int64, output *gather.WriteBuffer)
| 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 { |
| 58 | return c.getContentFromFullBlob(ctx, blobID, offset, length, output) |
| 59 | } |
| 60 | |
| 61 | return c.getContentFromFullOrPartialBlob(ctx, contentID, blobID, offset, length, output) |
| 62 | } |
| 63 | |
| 64 | func (c *contentCacheImpl) getContentFromFullBlob(ctx context.Context, blobID blob.ID, offset, length int64, output *gather.WriteBuffer) error { |
| 65 | c.pc.exclusiveLock(string(blobID)) |
nothing calls this directly
no test coverage detected