Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface { Stat(path string, context Context) (FileInfo, error) Write(path string, contents string, context Context) (int64, error) WriteStream(path string, reader io.Reader, size int64, context Context) error WriteBytes(path string, contents []byte, context Context) (int64, error) Append(path string, contents string, context Context) (int64, error) AppendStream(path string, reader io.Reader, size int64, context Context) error AppendBytes(path string, contents []byte, context Context) (int64, error) ReName(path string, newPath string, context Context) error Copy(src string, dst string, context Context) error Delete(dst string, context Context) error DeleteDir(dst string, context Context) error CreateDir(dst string, context Context) error ListDir(dst string, ctx Context) ([]FileInfo, int64, error) }
Click to show internal directories.
Click to hide internal directories.