(ctx context.Context, st blob.Storage, cacheStorage cache.Storage)
| 32 | } |
| 33 | |
| 34 | func newContentMetadataCache(ctx context.Context, st blob.Storage, cacheStorage cache.Storage) (cache.ContentCache, error) { |
| 35 | return cache.NewContentCache(ctx, st, cache.Options{ |
| 36 | Storage: cacheStorage, |
| 37 | HMACSecret: []byte{1, 2, 3, 4}, |
| 38 | FetchFullBlobs: true, |
| 39 | Sweep: cache.SweepSettings{ |
| 40 | MaxSizeBytes: 100, |
| 41 | }, |
| 42 | }, nil) |
| 43 | } |
| 44 | |
| 45 | func TestPrefetchBlocksGetContent_DataCache(t *testing.T) { |
| 46 | t.Parallel() |
nothing calls this directly
no test coverage detected