Versions in this module Expand all Collapse all v0 v0.1.1 May 30, 2026 v0.1.0 May 30, 2026 Changes in this version + var ErrFileClosed = errors.New("file is closed") + var ErrInvalidSeek = errors.New("invalid seek offset") + var ErrIsDirectory = errors.New("is a directory") + var ErrNotImplemented = errors.New("not implemented") + var ErrNotSupported = errors.New("operation not supported") + var ErrReadOnly = errors.New("file opened read-only") + var ErrWriteOnly = errors.New("file opened write-only") + type File struct + func NewFile(fs *Fs, name string) *File + func (f *File) Close() error + func (f *File) Name() string + func (f *File) Read(p []byte) (int, error) + func (f *File) ReadAt(p []byte, off int64) (int, error) + func (f *File) Readdir(count int) ([]os.FileInfo, error) + func (f *File) Readdirnames(n int) ([]string, error) + func (f *File) Seek(offset int64, whence 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(p []byte) (int, error) + func (f *File) WriteAt(p []byte, _ int64) (int, error) + func (f *File) WriteString(s string) (int, error) + type Fs struct + func New(client *gowebdav.Client) *Fs + func (fs *Fs) Chmod(_ string, _ os.FileMode) error + func (fs *Fs) Chown(_ string, _, _ int) error + func (fs *Fs) Chtimes(_ string, _, _ time.Time) error + func (fs *Fs) Create(name string) (afero.File, error) + func (fs *Fs) Mkdir(name string, perm os.FileMode) error + func (fs *Fs) MkdirAll(name string, perm os.FileMode) error + func (fs *Fs) Name() string + func (fs *Fs) Open(name string) (afero.File, error) + func (fs *Fs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error) + func (fs *Fs) Remove(name string) error + func (fs *Fs) RemoveAll(name string) error + func (fs *Fs) Rename(oldname, newname string) error + func (fs *Fs) Stat(name string) (os.FileInfo, error) + type PathError struct + Err error + Op string + Path string + func (e *PathError) Error() string + func (e *PathError) Unwrap() error