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(string) ([]byte, error)
PutContent(string, []byte) error
Reader(string) (io.ReadCloser, error)
Writer(string) (FileWriter, error)
Stat(string) (FileInfo, error)
List(string) ([]string, error)
Move(string, string) error
Delete(string) error
Walk(string) ([]FileInfo, error)
WalkDir(string) ([]string, error)
Mkdir(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.