Documentation
¶
Index ¶
- Variables
- type File
- type Storage
- type SubStorage
- func (s SubStorage) Close() error
- func (s SubStorage) Path() string
- func (s SubStorage) Read(bytes []byte) (int, error)
- func (s SubStorage) ReadAt(p []byte, off int64) (n int, err error)
- func (s SubStorage) Seek(offset int64, whence int) (int64, error)
- func (s SubStorage) Stat() (fs.FileInfo, error)
- func (s SubStorage) Sys() (*os.File, error)
- func (s SubStorage) Writable() (WritableFile, error)
- type WritableFile
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrIncorrectOpenMode = errors.New("disk file or device not open for write") ErrNotSuitable = errors.New("backing file is not suitable") )
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type SubStorage ¶ added in v1.8.0
type SubStorage struct {
// contains filtered or unexported fields
}
func (SubStorage) Close ¶ added in v1.8.0
func (s SubStorage) Close() error
func (SubStorage) Path ¶ added in v1.8.0
func (s SubStorage) Path() string
func (SubStorage) ReadAt ¶ added in v1.8.0
func (s SubStorage) ReadAt(p []byte, off int64) (n int, err error)
func (SubStorage) Seek ¶ added in v1.8.0
func (s SubStorage) Seek(offset int64, whence int) (int64, error)
func (SubStorage) Writable ¶ added in v1.8.0
func (s SubStorage) Writable() (WritableFile, error)
type WritableFile ¶
Click to show internal directories.
Click to hide internal directories.