MCPcopy
hub / github.com/kopia/kopia / DefaultProviderImplementation

Struct DefaultProviderImplementation

repo/blob/storage.go:160–160  ·  view source on GitHub ↗

DefaultProviderImplementation provides a default implementation for common functions that are mostly provider independent and have a sensible default. Storage providers should embed this struct and override functions that they have different return values for.

Source from the content-addressed store, hash-verified

158// Storage providers should embed this struct and override functions that they
159// have different return values for.
160type DefaultProviderImplementation struct{}
161
162// ExtendBlobRetention provides a common implementation for unsupported blob retention storage.
163func (s DefaultProviderImplementation) ExtendBlobRetention(context.Context, ID, ExtendOptions) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected