Documentation
¶
Index ¶
- func NewFs(src afero.Fs, predicate Predicate) afero.Fs
- type Fs
- func (f *Fs) Chmod(name string, mode fs.FileMode) error
- func (f *Fs) Chown(name string, uid int, gid int) error
- func (f *Fs) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (f *Fs) Create(name string) (afero.File, error)
- func (f *Fs) Mkdir(name string, perm fs.FileMode) error
- func (f *Fs) MkdirAll(path string, perm fs.FileMode) error
- func (f *Fs) Name() string
- func (f *Fs) Open(name string) (afero.File, error)
- func (f *Fs) OpenFile(name string, flag int, perm fs.FileMode) (afero.File, error)
- func (f *Fs) Remove(name string) error
- func (f *Fs) RemoveAll(path string) error
- func (f *Fs) Rename(oldname string, newname string) error
- func (f *Fs) Stat(name string) (fs.FileInfo, error)
- type Predicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fs ¶
type Fs struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.