Versions in this module Expand all Collapse all v0 v0.1.1 Jan 21, 2023 v0.1.0 Jan 19, 2023 Changes in this version + const CurrentVersion + func Init(inner afero.Fs, rootKey cipher.AEAD, path string, userConfig Config) error + type Config = proto.Config + type Fs struct + func New(inner afero.Fs, rootKey cipher.AEAD, path string, options ...Option) (*Fs, error) + func (*Fs) Name() string + func (efs *Fs) Chmod(name string, mode os.FileMode) error + func (efs *Fs) Chown(name string, uid, gid int) error + func (efs *Fs) Chtimes(name string, atime, mtime time.Time) error + func (efs *Fs) Close() + func (efs *Fs) Create(name string) (afero.File, error) + func (efs *Fs) Merge(src, dst string) error + func (efs *Fs) Mkdir(name string, perm os.FileMode) error + func (efs *Fs) MkdirAll(name string, perm os.FileMode) error + func (efs *Fs) Open(name string) (afero.File, error) + func (efs *Fs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error) + func (efs *Fs) Remove(name string) error + func (efs *Fs) RemoveAll(name string) error + func (efs *Fs) Rename(src, dst string) error + func (efs *Fs) Stat(name string) (os.FileInfo, error) + type Option func(*option) + func WithCacheSize(size int) Option + func WithOptions(options ...Option) Option + func WithReadWrite(rw bool) Option + func WithWriterName(name string) Option