MCPcopy
hub / github.com/kopia/kopia / PrefetchBlob

Method PrefetchBlob

internal/cache/content_cache.go:20–20  ·  view source on GitHub ↗
(ctx context.Context, blobID blob.ID)

Source from the content-addressed store, hash-verified

18 Close(ctx context.Context)
19 GetContent(ctx context.Context, contentID string, blobID blob.ID, offset, length int64, output *gather.WriteBuffer) error
20 PrefetchBlob(ctx context.Context, blobID blob.ID) error
21 CacheStorage() Storage
22}
23

Callers 4

TestContentCacheForDataFunction · 0.95
runMethod · 0.65
PrefetchContentsMethod · 0.65

Implementers 2

contentCacheImplinternal/cache/content_cache.go
passthroughContentCacheinternal/cache/content_cache_passthrou

Calls

no outgoing calls

Tested by 2

TestContentCacheForDataFunction · 0.76