Versions in this module Expand all Collapse all v0 v0.14.0 May 28, 2024 v0.13.0 Jan 11, 2023 v0.12.1 Sep 25, 2022 v0.12.0 Sep 23, 2022 v0.11.0 Apr 28, 2022 v0.10.0 Jul 27, 2021 v0.9.0 Feb 27, 2021 Changes in this version type Fs + func (m *Fs) Chown(string, int, int) error v0.8.0 Nov 1, 2020 Changes in this version + var ErrInvalidParameter = errors.New("invalid parameter") + var ErrNotFound = errors.New("not found") + var ErrNotImplemented = errors.New("not implemented") + func LoadFs(access *confpar.Access) (afero.Fs, error) + type File struct + At int64 + Content []byte + Fs *Fs + Path string + func (f *File) Close() error + func (f *File) Name() string + func (f *File) Read(b []byte) (int, error) + func (f *File) ReadAt(_ []byte, _ int64) (int, error) + func (f *File) Readdir(_ int) ([]os.FileInfo, error) + func (f *File) Readdirnames(_ int) ([]string, error) + func (f *File) Seek(_ int64, _ int) (int64, error) + func (f *File) Stat() (os.FileInfo, error) + func (f *File) Sync() error + func (f *File) Truncate(_ int64) error + func (f *File) Write(b []byte) (int, error) + func (f *File) WriteAt(b []byte, off int64) (int, error) + func (f *File) WriteString(s string) (int, error) + type Fs struct + Dialer mail.Dialer + From string + Message string + Subject string + To string + func (m *Fs) Chmod(name string, mode os.FileMode) error + func (m *Fs) Chtimes(name string, atime, mtime time.Time) error + func (m *Fs) Create(name string) (afero.File, error) + func (m *Fs) LstatIfPossible(name string) (os.FileInfo, bool, error) + func (m *Fs) Mkdir(name string, mode os.FileMode) error + func (m *Fs) MkdirAll(name string, mode os.FileMode) error + func (m *Fs) Name() string + func (m *Fs) Open(name string) (afero.File, error) + func (m *Fs) OpenFile(name string, flag int, mode os.FileMode) (afero.File, error) + func (m *Fs) Remove(name string) error + func (m *Fs) RemoveAll(name string) error + func (m *Fs) Rename(name string, newname string) error + func (m *Fs) Stat(name string) (os.FileInfo, error)