Documentation
¶
Index ¶
- func CutPrefix(s, prefix string) (after string, found bool)
- func NewFs(m map[string]afero.Fs) afero.Fs
- type Fs
- func (f Fs) Chmod(name string, mode os.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 os.FileMode) error
- func (f Fs) MkdirAll(path string, perm os.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 os.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) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.