Versions in this module Expand all Collapse all v0 v0.13.2 Oct 30, 2023 v0.13.1 Oct 30, 2023 Changes in this version + var ErrBasePathTooShort = errors.New("path needs to at least as long as its prefix") + func NewStripPrefixFs(source afero.Fs, start int) afero.Fs + type File struct + func (f *File) Name() string + type Fs struct + func (b *Fs) Chmod(name string, mode os.FileMode) (err error) + func (b *Fs) Chown(name string, uid int, gid int) (err error) + func (b *Fs) Chtimes(name string, atime, mtime time.Time) (err error) + func (b *Fs) Create(name string) (f afero.File, err error) + func (b *Fs) LstatIfPossible(name string) (os.FileInfo, bool, error) + func (b *Fs) Mkdir(name string, mode os.FileMode) (err error) + func (b *Fs) MkdirAll(name string, mode os.FileMode) (err error) + func (b *Fs) Name() string + func (b *Fs) Open(name string) (f afero.File, err error) + func (b *Fs) OpenFile(name string, flag int, mode os.FileMode) (f afero.File, err error) + func (b *Fs) Remove(name string) (err error) + func (b *Fs) RemoveAll(name string) (err error) + func (b *Fs) Rename(oldname, newname string) (err error) + func (b *Fs) Stat(name string) (fi os.FileInfo, err error)