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

Method GetSubFolder

pkg/storages/storage/folder.go:29–29  ·  view source on GitHub ↗

GetSubFolder returns a handle to the subfolder. Does not have to instantiate the subfolder in any material form.

(subFolderRelativePath string)

Source from the content-addressed store, hash-verified

27
28 // GetSubFolder returns a handle to the subfolder. Does not have to instantiate the subfolder in any material form.
29 GetSubFolder(subFolderRelativePath string) Folder
30
31 // ReadObject reads an object from the folder. Must return ObjectNotFoundError in case the object doesn't exist.
32 ReadObject(objectRelativePath string) (io.ReadCloser, error)

Callers 15

GetSubFolderMethod · 0.65
RunFolderTestFunction · 0.65
DeleteTargetMethod · 0.65
GetTarPartitionFolderMethod · 0.65
SubFolderMethod · 0.65
ChangeDirectoryMethod · 0.65
ConfigureStoragePrefixFunction · 0.65
CreateMockStorageFolderFunction · 0.65
TestFindTargetByNameFunction · 0.65

Implementers 12

Folderpkg/storages/azure/folder.go
Folderpkg/storages/memory/folder.go
Folderpkg/storages/memory/mock/folder.go
Folderpkg/storages/sh/folder.go
Folderpkg/storages/gcs/folder.go
Folderpkg/storages/oss/folder.go
Folderpkg/storages/s3/folder.go
Folderpkg/storages/swift/folder.go
Folderpkg/storages/fs/folder.go
MockFoldertest/mocks/mock_folder.go
MockFolderMockRecordertest/mocks/mock_folder.go
Folderinternal/multistorage/folder.go

Calls

no outgoing calls