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.
| 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. |
| 149 | type 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. |
| 158 | func (mf Folder) GetPath() string { |
nothing calls this directly
no outgoing calls
no test coverage detected