MCPcopy
hub / github.com/kopia/kopia / GetMetadata

Method GetMetadata

internal/cache/cache_storage.go:26–26  ·  view source on GitHub ↗
(ctx context.Context, id blob.ID)

Source from the content-addressed store, hash-verified

24type Storage interface {
25 GetBlob(ctx context.Context, id blob.ID, offset, length int64, out blob.OutputBuffer) error
26 GetMetadata(ctx context.Context, id blob.ID) (blob.Metadata, error)
27 PutBlob(ctx context.Context, id blob.ID, data blob.Bytes, opts blob.PutOptions) error
28 DeleteBlob(ctx context.Context, id blob.ID) error
29 ListBlobs(ctx context.Context, prefix blob.ID, callback func(blob.Metadata) error) error

Callers 12

verifyBlobExistsFunction · 0.65
verifyBlobDoesNotExistFunction · 0.65
NewPersistentCacheFunction · 0.65
ListBlobsMethod · 0.65
ValidateProviderFunction · 0.65
getMetadataWorkerMethod · 0.65
AssertListResultsFunction · 0.65
GetMetadataMethod · 0.65
DeleteBlobMethod · 0.65
GetMetadataMethod · 0.65
VerifyStorageFunction · 0.65

Calls

no outgoing calls

Tested by 2

verifyBlobExistsFunction · 0.52
verifyBlobDoesNotExistFunction · 0.52