Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface {
Name() string
GetContent(path string) ([]byte, error)
PutContent(path string, content []byte) error
Reader(path string) (io.ReadCloser, error)
Writer(path string) (FileWriter, error)
Stat(path string) (FileInfo, error)
List(path string) ([]string, error)
Move(sourcePath string, destPath string) error
Delete(path string) error
Walk(path string) ([]FileInfo, error)
WalkDir(path string) ([]string, error)
Mkdir(path string) error
RootDirectory() string
}
type FileWriter ¶
type FileWriter interface {
io.WriteCloser
Size() int64
Cancel() error
Commit() error
}
type LogPath ¶
type PathNotFoundError ¶
func (PathNotFoundError) Error ¶
func (err PathNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.