Documentation
¶
Index ¶
- func NewEncryptFS(baseFS filesystem.Filespace, settings Settings) (_ filesystem.Filespace, err error)
- type EncryptFS
- func (fs *EncryptFS) Copy(src, dest string) error
- func (fs *EncryptFS) CopyDirectory(src, dest string) error
- func (fs *EncryptFS) CopyFile(src, dest string) error
- func (fs *EncryptFS) Filespace(path string) (childFS filesystem.Filespace, err error)
- func (fs *EncryptFS) IsDir(path string) bool
- func (fs *EncryptFS) IsExist(path string) bool
- func (fs *EncryptFS) IsFile(path string) bool
- func (fs *EncryptFS) Lstat(path string) (os.FileInfo, error)
- func (fs *EncryptFS) MkdirAll(path string, filemode os.FileMode) error
- func (fs *EncryptFS) ReadDir(path string) ([]os.FileInfo, error)
- func (fs *EncryptFS) ReadFile(path string) (data []byte, err error)
- func (fs *EncryptFS) Reader(path string) (reader filesystem.Reader, err error)
- func (fs *EncryptFS) Remove(path string) error
- func (fs *EncryptFS) RemoveAll(path string) error
- func (fs *EncryptFS) WriteFile(path string, data []byte, perm os.FileMode) (err error)
- func (fs *EncryptFS) Writer(path string) (writer filesystem.Writer, err error)
- type Settings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEncryptFS ¶
func NewEncryptFS(baseFS filesystem.Filespace, settings Settings) (_ filesystem.Filespace, err error)
NewEncryptFS create new EncryptFS instance
Types ¶
type EncryptFS ¶
EncryptFS is an encrypted filespace
func (*EncryptFS) CopyDirectory ¶
func (*EncryptFS) Filespace ¶
func (fs *EncryptFS) Filespace(path string) (childFS filesystem.Filespace, err error)
func (*EncryptFS) Reader ¶
func (fs *EncryptFS) Reader(path string) (reader filesystem.Reader, err error)
Click to show internal directories.
Click to hide internal directories.