Documentation ¶
Index ¶
- Variables
- type LocalFS
- func (fs *LocalFS) Close() error
- func (fs *LocalFS) CloseFDs(filePaths map[string]bool) error
- func (fs *LocalFS) CloseReader(id string) error
- func (fs *LocalFS) Create(path string) error
- func (fs *LocalFS) GetFileReader(path string) (fs.ReadCloseSeeker, uint64, error)
- func (fs *LocalFS) ListDir(path string) ([]os.FileInfo, error)
- func (fs *LocalFS) MkdirAll(path string) error
- func (fs *LocalFS) ReadAt(path string, b []byte, off int64) (int, error)
- func (fs *LocalFS) Remove(entryPath string) error
- func (fs *LocalFS) Rename(oldpath, newpath string) error
- func (fs *LocalFS) Root() string
- func (fs *LocalFS) Stat(path string) (os.FileInfo, error)
- func (fs *LocalFS) Sync() error
- func (fs *LocalFS) WriteAt(path string, b []byte, off int64) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTooManyOpens = errors.New("too many opened files and failed to clean")
Functions ¶
This section is empty.
Types ¶
type LocalFS ¶
type LocalFS struct {
// contains filtered or unexported fields
}
func NewLocalFS ¶
func (*LocalFS) CloseReader ¶
func (*LocalFS) GetFileReader ¶
readers are not tracked by opens
Click to show internal directories.
Click to hide internal directories.