Documentation ¶
Index ¶
- Variables
- type FileHandle
- func (f *FileHandle) Chmod(mode os.FileMode) error
- func (f *FileHandle) Close() error
- func (f *FileHandle) Name() string
- func (f *FileHandle) Read(b []byte) (int, error)
- func (f *FileHandle) ReadAt(b []byte, off int64) (int, error)
- func (f *FileHandle) Readdir(n int) ([]os.FileInfo, error)
- func (f *FileHandle) Readdirnames(n int) ([]string, error)
- func (f *FileHandle) Stat() (os.FileInfo, error)
- func (f *FileHandle) Write(b []byte) (int, error)
- func (f *FileHandle) WriteAt(b []byte, off int64) (int, error)
- type FileStat
- type Fs
- func (fs *Fs) Chmod(fpath string, mode os.FileMode) error
- func (fs *Fs) Close() error
- func (fs *Fs) Create(fpath string) (*FileHandle, error)
- func (fs *Fs) Mkdir(fpath string, mode os.FileMode) error
- func (fs *Fs) Open(fpath string) (vfs.File, error)
- func (fs *Fs) OpenFile(fpath string, flags int, perm os.FileMode) (vfs.File, error)
- func (fs *Fs) Remove(fpath string) error
- func (fs *Fs) Rename(from, to string) error
- func (fs *Fs) Stat(fpath string) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFile = errors.New("not a file") ErrNotDir = errors.New("not a directory") ErrBadPath = errors.New("bad path") ErrNotOpen = errors.New("file not open") ErrBadOpenFileOptions = errors.New("bad open file options") ErrNotSupported = errors.New("not supported") ErrBadReadWriteOffset = errors.New("bad read/write offset") ErrUnimplemented = errors.New("unimplemented") )
Functions ¶
This section is empty.
Types ¶
type FileHandle ¶
type FileHandle struct {
// contains filtered or unexported fields
}
func (*FileHandle) Close ¶
func (f *FileHandle) Close() error
func (*FileHandle) Name ¶
func (f *FileHandle) Name() string
func (*FileHandle) Readdirnames ¶
func (f *FileHandle) Readdirnames(n int) ([]string, error)
type FileStat ¶
type FileStat struct { FileMetadata *files.FileMetadata FolderMetadata *files.FolderMetadata }
func (*FileStat) GetDropboxId ¶
Click to show internal directories.
Click to hide internal directories.