Method
GetContent
(ctx context.Context, contentID string, blobID blob.ID, offset, length int64, output *gather.WriteBuffer)
Source from the content-addressed store, hash-verified
| 15 | func (c passthroughContentCache) Close(_ context.Context) {} |
| 16 | |
| 17 | func (c passthroughContentCache) GetContent(ctx context.Context, contentID string, blobID blob.ID, offset, length int64, output *gather.WriteBuffer) error { |
| 18 | _ = contentID |
| 19 | |
| 20 | //nolint:wrapcheck |
| 21 | return c.st.GetBlob(ctx, blobID, offset, length, output) |
| 22 | } |
| 23 | |
| 24 | func (c passthroughContentCache) PrefetchBlob(_ context.Context, blobID blob.ID) error { |
| 25 | _ = blobID |
Callers
nothing calls this directly
Tested by
no test coverage detected