Documentation
¶
Index ¶
- Variables
- func NewFs(client *gowebdav.Client) afero.Fs
- type File
- func (m *File) Close() error
- func (m *File) Name() string
- func (m *File) Read(p []byte) (int, error)
- func (m *File) ReadAt(p []byte, off int64) (int, error)
- func (m *File) Readdir(count int) ([]os.FileInfo, error)
- func (m *File) Readdirnames(count int) ([]string, error)
- func (m *File) Seek(offset int64, whence int) (int64, error)
- func (m *File) Stat() (os.FileInfo, error)
- func (m *File) Sync() error
- func (m *File) Truncate(size int64) error
- func (m *File) Write(p []byte) (int, error)
- func (m *File) WriteAt(p []byte, off int64) (n int, err error)
- func (m *File) WriteString(s string) (ret int, err error)
- type Fs
- func (m *Fs) Chmod(name string, mode os.FileMode) (err error)
- func (m *Fs) Chown(name string, uid int, gid int) (err error)
- func (m *Fs) Chtimes(name string, atime, mtime time.Time) (err error)
- func (m *Fs) Create(name string) (f afero.File, err error)
- func (m *Fs) LstatIfPossible(name string) (os.FileInfo, bool, error)
- func (m *Fs) Mkdir(name string, mode os.FileMode) (err error)
- func (m *Fs) MkdirAll(name string, mode os.FileMode) (err error)
- func (m *Fs) Name() string
- func (m *Fs) Open(name string) (f afero.File, err error)
- func (m *Fs) OpenFile(name string, _ int, _ os.FileMode) (f afero.File, err error)
- func (m *Fs) Remove(name string) (err error)
- func (m *Fs) RemoveAll(name string) (err error)
- func (m *Fs) Rename(oldname, newname string) (err error)
- func (m *Fs) Stat(name string) (fi os.FileInfo, err error)
- type WebdavFs
- func (m *WebdavFs) Mkdir(ctx context.Context, name string, perm os.FileMode) error
- func (m *WebdavFs) OpenFile(ctx context.Context, name string, flag int, perm os.FileMode) (webdav.File, error)
- func (m *WebdavFs) RemoveAll(ctx context.Context, name string) error
- func (m *WebdavFs) Rename(ctx context.Context, oldName, newName string) error
- func (m *WebdavFs) Stat(ctx context.Context, name string) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("aferowebdav not implemented")
Functions ¶
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File implements afero.File interface over webdav client
type Fs ¶
type Fs struct {
// contains filtered or unexported fields
}
Fs implements afero.Fs interface over webdav client
Click to show internal directories.
Click to hide internal directories.