Documentation
¶
Index ¶
- Variables
- type FS
- func (f *FS) Chroot(path string) (billy.Filesystem, error)
- func (f *FS) Create(filename string) (billy.File, error)
- func (f *FS) Join(elem ...string) string
- func (f *FS) Lstat(filename string) (os.FileInfo, error)
- func (f *FS) MkdirAll(filename string, perm os.FileMode) error
- func (f *FS) Open(filename string) (billy.File, error)
- func (f *FS) OpenFile(filename string, flag int, perm os.FileMode) (billy.File, error)
- func (f *FS) ReadDir(path string) ([]os.FileInfo, error)
- func (f *FS) Readlink(link string) (string, error)
- func (f *FS) Remove(filename string) error
- func (f *FS) Rename(oldpath string, newpath string) error
- func (f *FS) Root() string
- func (f *FS) Stat(filename string) (os.FileInfo, error)
- func (f *FS) Symlink(target string, link string) error
- func (f *FS) TempFile(dir string, prefix string) (billy.File, error)
- type File
- func (f *File) Close() error
- func (f *File) Lock() error
- func (f *File) Name() string
- func (f *File) Read(p []byte) (n int, err error)
- func (f *File) ReadAt(p []byte, off int64) (n int, err error)
- func (f *File) Seek(offset int64, whence int) (int64, error)
- func (f *File) Truncate(size int64) error
- func (f *File) Unlock() error
- func (f *File) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotImplemented is returned when the function is not implemented. ErrNotImplemented = fmt.Errorf("functionality not implemented") )
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
type File ¶
type File struct {
// contains filtered or unexported fields
}
File wraps an afero.File.
Click to show internal directories.
Click to hide internal directories.