Documentation ¶
Index ¶
- Variables
- func NewVFS(r Store) webdav.FileSystem
- type FileInfo
- type Store
- type VFS
- func (v *VFS) Mkdir(ctx context.Context, name string, perm os.FileMode) error
- func (fs *VFS) OpenFile(ctx context.Context, name string, flag int, perm os.FileMode) (webdav.File, error)
- func (fs *VFS) RemoveAll(ctx context.Context, name string) error
- func (v *VFS) Rename(ctx context.Context, oldName, newName string) error
- func (fs *VFS) Stat(ctx context.Context, name string) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("not implemented")
Functions ¶
func NewVFS ¶
func NewVFS(r Store) webdav.FileSystem
NewMemFS returns a new in-memory FileSystem implementation.
Types ¶
Click to show internal directories.
Click to hide internal directories.