Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Driver ¶
type Driver interface { Create(path string) (File, error) Open(path string) (File, error) Remove(path string) error Rename(oldPath, newPath string) error Stat(path string) (fs.FileInfo, error) MakeDir(path string) error RemoveDir(path string) error RenameDir(oldPath, newPath string) error StatDir(path string) (fs.FileInfo, error) ListDir(path string) ([]fs.DirEntry, error) ReadFile(path string) ([]byte, error) WriteFile(path string, data []byte) error ReadFileStream(path string) (io.ReadCloser, error) WriteFileStream(path string, data io.Reader) error RemoveFile(path string) error FileSize(path string) (int64, error) FileModTime(path string) (int64, error) }
Click to show internal directories.
Click to hide internal directories.