Documentation ¶
Index ¶
- Variables
- type WebDAVFile
- func (wf *WebDAVFile) Close() error
- func (wf *WebDAVFile) Read(p []byte) (n int, err error)
- func (wf *WebDAVFile) Readdir(count int) ([]fs.FileInfo, error)
- func (wf *WebDAVFile) Seek(offset int64, whence int) (int64, error)
- func (wf *WebDAVFile) Stat() (fs.FileInfo, error)
- func (wf *WebDAVFile) Write(p []byte) (n int, err error)
- type WebDAVFileSystem
- func (wfs *WebDAVFileSystem) Mkdir(ctx context.Context, name string, perm os.FileMode) error
- func (wfs *WebDAVFileSystem) OpenFile(ctx context.Context, name string, flag int, perm os.FileMode) (webdav.File, error)
- func (wfs *WebDAVFileSystem) RemoveAll(ctx context.Context, name string) error
- func (wfs *WebDAVFileSystem) Rename(ctx context.Context, oldName, newName string) error
- func (wfs *WebDAVFileSystem) Stat(ctx context.Context, name string) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrReadOnly = errors.New("readonly fs")
)
Functions ¶
This section is empty.
Types ¶
type WebDAVFile ¶
func NewWebDAVFile ¶
func (*WebDAVFile) Close ¶
func (wf *WebDAVFile) Close() error
type WebDAVFileSystem ¶
func NewWebDAVFileSystemFromFS ¶
func NewWebDAVFileSystemFromFS(fileSystem fs.FS) *WebDAVFileSystem
func (*WebDAVFileSystem) RemoveAll ¶
func (wfs *WebDAVFileSystem) RemoveAll(ctx context.Context, name string) error
Click to show internal directories.
Click to hide internal directories.