Documentation ¶
Index ¶
- func OpenFile(sess bash.Session, name string) webdav.File
- type File
- func (f *File) Close() error
- func (f *File) Read(p []byte) (n int, err error)
- func (f *File) Readdir(n int) (files []fs.FileInfo, err error)
- func (f *File) Seek(offset int64, whence int) (n int64, err error)
- func (f *File) Stat() (finfo fs.FileInfo, err error)
- func (f *File) Write(p []byte) (n int, err error)
- type FileInfo
- type FileSystem
- func (c *FileSystem) Mkdir(ctx context.Context, name string, perm os.FileMode) (err error)
- func (c *FileSystem) OpenFile(ctx context.Context, name string, flag int, perm os.FileMode) (f webdav.File, err error)
- func (c *FileSystem) RemoveAll(ctx context.Context, name string) (err error)
- func (c *FileSystem) Rename(ctx context.Context, oldName, newName string) (err error)
- func (c *FileSystem) Stat(ctx context.Context, name string) (f os.FileInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileInfo ¶
type FileInfo struct {
// contains filtered or unexported fields
}
func NewFileInfo ¶
type FileSystem ¶
func NewFileSystem ¶
func NewFileSystem(sess bash.Session) *FileSystem
func (*FileSystem) RemoveAll ¶
func (c *FileSystem) RemoveAll(ctx context.Context, name string) (err error)
Click to show internal directories.
Click to hide internal directories.