MCPcopy
hub / github.com/kopia/kopia / RootStorage

Method RootStorage

internal/repotesting/repotesting.go:55–57  ·  view source on GitHub ↗

RootStorage returns the base storage map that implements the base in-memory map at the base of all storage wrappers on top.

()

Source from the content-addressed store, hash-verified

53// RootStorage returns the base storage map that implements the base in-memory
54// map at the base of all storage wrappers on top.
55func (e *Environment) RootStorage() blob.Storage {
56 return e.st.(reconnectableStorage).Storage //nolint:forcetypeassert
57}
58
59// setup sets up a test environment.
60func (e *Environment) setup(tb testing.TB, version format.Version, opts ...Options) *Environment {

Calls

no outgoing calls