Documentation
¶
Index ¶
- func Unmount(pMountPoint string) error
- type DownTheDriveFs
- type FileHandle
- type OneDriveFsItem
- func (vSelf *OneDriveFsItem) Attr(ctx context.Context, a *fuse.Attr) error
- func (vSelf *OneDriveFsItem) Lookup(pContext context.Context, pName string) (fs.Node, error)
- func (vSelf *OneDriveFsItem) Open(pContext context.Context, pRequest *fuse.OpenRequest, ...) (fs.Handle, error)
- func (vSelf *OneDriveFsItem) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DownTheDriveFs ¶
type DownTheDriveFs struct {
// contains filtered or unexported fields
}
func NewDownTheDriveFs ¶
func NewDownTheDriveFs(pDownTheDrive *downthedrive.DownTheDrive, pOneDriveBaseItemPath *onedriveclient.OneDriveItem, pLocalStore *downthedrive.LocalStore) (*DownTheDriveFs, error)
NewDownTheDriveFs: create a new filesystem object Parameters: pDownTheDrive = DownTheDrive instance pOneDriveBaseItemPath = base item path on onedrive
func (*DownTheDriveFs) Close ¶
func (vSelf *DownTheDriveFs) Close() error
type FileHandle ¶
type FileHandle struct {
// contains filtered or unexported fields
}
func (*FileHandle) Read ¶
func (vSelf *FileHandle) Read(pContext context.Context, pRequest *fuse.ReadRequest, pResponse *fuse.ReadResponse) error
func (*FileHandle) Release ¶
func (vSelf *FileHandle) Release(pContext context.Context, pRequest *fuse.ReleaseRequest) error
type OneDriveFsItem ¶
type OneDriveFsItem struct {
// contains filtered or unexported fields
}
func (*OneDriveFsItem) Open ¶
func (vSelf *OneDriveFsItem) Open(pContext context.Context, pRequest *fuse.OpenRequest, pResponse *fuse.OpenResponse) (fs.Handle, error)
func (*OneDriveFsItem) ReadDirAll ¶
Click to show internal directories.
Click to hide internal directories.