Documentation
¶
Index ¶
- func New(fs afero.Fs) billy.Filesystem
- type AdapterFs
- func (fs *AdapterFs) Capabilities() billy.Capability
- func (fs *AdapterFs) Create(filename string) (billy.File, error)
- func (fs *AdapterFs) Join(elem ...string) string
- func (fs *AdapterFs) Lstat(filename string) (os.FileInfo, error)
- func (fs *AdapterFs) MkdirAll(path string, perm os.FileMode) error
- func (fs *AdapterFs) Open(filename string) (billy.File, error)
- func (fs *AdapterFs) OpenFile(filename string, flag int, perm os.FileMode) (billy.File, error)
- func (fs *AdapterFs) ReadDir(path string) ([]os.FileInfo, error)
- func (fs *AdapterFs) Readlink(link string) (string, error)
- func (fs *AdapterFs) Remove(filename string) error
- func (fs *AdapterFs) RemoveAll(path string) error
- func (fs *AdapterFs) Rename(from, to string) error
- func (fs *AdapterFs) Stat(filename string) (os.FileInfo, error)
- func (fs *AdapterFs) Symlink(target, link string) error
- func (fs *AdapterFs) TempFile(dir, prefix string) (billy.File, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdapterFs ¶
type AdapterFs struct {
// contains filtered or unexported fields
}
AdapterFs holds an afero Fs interface for adaptation to billy.Filesystem
func (*AdapterFs) Capabilities ¶
func (fs *AdapterFs) Capabilities() billy.Capability
Capabilities implements the Capable interface.
Click to show internal directories.
Click to hide internal directories.