MCPcopy
hub / github.com/wal-g/wal-g / Folder

Struct Folder

internal/multistorage/folder.go:149–155  ·  view source on GitHub ↗

Folder represents a multi-storage folder that aggregates several folders from different storages with the same path. A specific behavior (should the folders be united, merged, etc.) is selected by policies.Policies.

Source from the content-addressed store, hash-verified

147// Folder represents a multi-storage folder that aggregates several folders from different storages with the same path.
148// A specific behavior (should the folders be united, merged, etc.) is selected by policies.Policies.
149type Folder struct {
150 statsCollector stats.Collector
151 configuredRootFolders map[string]storage.Folder
152 usedFolders []NamedFolder
153 path string
154 policies policies.Policies
155}
156
157// GetPath provides the base path that is common for all the storages.
158func (mf Folder) GetPath() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected