Versions in this module Expand all Collapse all v0 v0.1.0 May 28, 2020 Changes in this version + type FS struct + func New(writer io.Writer) *FS + func (fs *FS) Chmod(name string, mode os.FileMode) error + func (fs *FS) Chtimes(name string, atime time.Time, mtime time.Time) error + func (fs *FS) Close() error + func (fs *FS) Create(name string) (afero.File, error) + func (fs *FS) Mkdir(name string, perm os.FileMode) error + func (fs *FS) MkdirAll(path string, perm os.FileMode) error + func (fs *FS) Name() string + func (fs *FS) Open(name string) (afero.File, error) + func (fs *FS) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error) + func (fs *FS) Remove(name string) error + func (fs *FS) RemoveAll(path string) error + func (fs *FS) Rename(oldname, newname string) error + func (fs *FS) Stat(name string) (os.FileInfo, error) + type Item struct + func (i Item) Close() error + func (i Item) Name() string + func (i Item) Read(b []byte) (n int, err error) + func (i Item) ReadAt(b []byte, off int64) (n int, err error) + func (i Item) Readdir(count int) ([]os.FileInfo, error) + func (i Item) Readdirnames(n int) ([]string, error) + func (i Item) Seek(offset int64, whence int) (ret int64, err error) + func (i Item) Stat() (os.FileInfo, error) + func (i Item) Sync() error + func (i Item) Truncate(size int64) error + func (i Item) WriteAt(b []byte, off int64) (n int, err error) + func (i Item) WriteString(s string) (n int, err error)