Documentation ¶
Index ¶
- func ConfigureFolder(configPath string, settings map[string]string) (storage.Folder, error)
- func NewError(err error, format string, args ...interface{}) storage.Error
- type Folder
- func (folder *Folder) CopyObject(srcPath string, dstPath string) error
- func (folder *Folder) DeleteObjects(objectRelativePaths []string) error
- func (folder *Folder) Exists(objectRelativePath string) (bool, error)
- func (folder *Folder) GetFilePath(objectRelativePath string) string
- func (folder *Folder) GetPath() string
- func (folder *Folder) GetSubFolder(subFolderRelativePath string) storage.Folder
- func (folder *Folder) ListFolder() (objects []storage.Object, subFolders []storage.Folder, err error)
- func (folder *Folder) PutObject(name string, content io.Reader) error
- func (folder *Folder) ReadObject(objectRelativePath string) (io.ReadCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureFolder ¶
Types ¶
type Folder ¶
type Folder struct {
// contains filtered or unexported fields
}
Folder represents folder of file system
func (*Folder) DeleteObjects ¶
func (*Folder) GetFilePath ¶
func (*Folder) GetSubFolder ¶
func (*Folder) ListFolder ¶
func (*Folder) ReadObject ¶
func (folder *Folder) ReadObject(objectRelativePath string) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.