MCPcopy
hub / github.com/kopia/kopia / readonlyStorage

Struct readonlyStorage

repo/blob/readonly/readonly_storage.go:16–19  ·  view source on GitHub ↗

readonlyStorage prevents all mutations on the underlying storage.

Source from the content-addressed store, hash-verified

14
15// readonlyStorage prevents all mutations on the underlying storage.
16type readonlyStorage struct {
17 base blob.Storage
18 blob.DefaultProviderImplementation
19}
20
21func (s readonlyStorage) GetCapacity(ctx context.Context) (blob.Capacity, error) {
22 //nolint:wrapcheck

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected