Documentation ¶
Index ¶
- type LocalFileSystem
- func (l *LocalFileSystem) Delete(key string) error
- func (l *LocalFileSystem) Init() error
- func (l *LocalFileSystem) Read(key string) ([]byte, error)
- func (l *LocalFileSystem) SetDefault()
- func (l *LocalFileSystem) StatObject(key string) (*filesystem.ObjectMeta, error)
- func (l *LocalFileSystem) Upload(key string, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalFileSystem ¶
type LocalFileSystem struct {
Root string `env:""`
}
func (*LocalFileSystem) Delete ¶
func (l *LocalFileSystem) Delete(key string) error
func (*LocalFileSystem) Init ¶
func (l *LocalFileSystem) Init() error
func (*LocalFileSystem) SetDefault ¶
func (l *LocalFileSystem) SetDefault()
func (*LocalFileSystem) StatObject ¶ added in v1.4.6
func (l *LocalFileSystem) StatObject(key string) (*filesystem.ObjectMeta, error)
Click to show internal directories.
Click to hide internal directories.