Versions in this module Expand all Collapse all v0 v0.0.1 Feb 4, 2024 v0.0.0 Feb 4, 2024 Changes in this version + type Dir struct + func (d *Dir) Close() error + func (d *Dir) Name() string + func (d *Dir) Read(p []byte) (n int, err error) + func (d *Dir) ReadAt(p []byte, off int64) (n int, err error) + func (d *Dir) Readdir(n int) ([]os.FileInfo, error) + func (d *Dir) Readdirnames(n int) ([]string, error) + func (d *Dir) Seek(offset int64, whence int) (int64, error) + func (d *Dir) Stat() (os.FileInfo, error) + func (d *Dir) Sync() error + func (d *Dir) Truncate(size int64) error + func (d *Dir) Write(p []byte) (n int, err error) + func (d *Dir) WriteAt(p []byte, off int64) (n int, err error) + func (d *Dir) WriteString(s string) (ret int, err error) + type DirsMerger func(lofi, bofi []os.FileInfo) []os.FileInfo + type File struct + func (f File) Name() string + func (f File) ReadAt(p []byte, off int64) (n int, err error) + func (f File) Readdir(count int) ([]os.FileInfo, error) + func (f File) Readdirnames(n int) ([]string, error) + func (f File) Seek(offset int64, whence int) (int64, error) + func (f File) Sync() error + func (f File) Truncate(size int64) error + func (f File) Write(p []byte) (n int, err error) + func (f File) WriteAt(p []byte, off int64) (n int, err error) + func (f File) WriteString(s string) (ret int, err error) + type OverlayFs struct + func New(fss []afero.Fs) *OverlayFs + func (ofs *OverlayFs) Append(fss ...afero.Fs) *OverlayFs + func (ofs *OverlayFs) Chmod(name string, mode os.FileMode) error + func (ofs *OverlayFs) Chown(name string, uid, gid int) error + func (ofs *OverlayFs) Chtimes(name string, atime time.Time, mtime time.Time) error + func (ofs *OverlayFs) Create(name string) (afero.File, error) + func (ofs *OverlayFs) LstatIfPossible(name string) (os.FileInfo, bool, error) + func (ofs *OverlayFs) Mkdir(name string, perm os.FileMode) error + func (ofs *OverlayFs) MkdirAll(path string, perm os.FileMode) error + func (ofs *OverlayFs) Name() string + func (ofs *OverlayFs) Open(name string) (afero.File, error) + func (ofs *OverlayFs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error) + func (ofs *OverlayFs) Remove(name string) error + func (ofs *OverlayFs) RemoveAll(path string) error + func (ofs *OverlayFs) Rename(oldname, newname string) error + func (ofs *OverlayFs) Stat(name string) (os.FileInfo, error)