Documentation
¶
Index ¶
- type Cloud
- func (r *Cloud) Download(node *model.Node, dst string) error
- func (r *Cloud) FindFile(path string) (*model.Node, error)
- func (r *Cloud) FindNewFilesEdit(dir string) []*model.Node
- func (r *Cloud) FindNewFilesMerge(dir string) []*model.Node
- func (r *Cloud) Move(node *model.Node, dstPath, dstName string) (*model.Node, error)
- func (r *Cloud) Upload(src string, dstPath string) (*model.Document, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloud ¶
type Cloud struct {
// contains filtered or unexported fields
}
Cloud is used to interact with the remarkable cloud.
func (*Cloud) FindFile ¶
FindFile finds a file in the cloud by path and returns the associated Node.
func (*Cloud) FindNewFilesEdit ¶
FindNewFilesEdit provides all files in subdirectories of the provided directory. e.g. FindNewFilesEdit("pdf-tools") -> ["pdf-tools/sub1/file1", "pdf-tools/sub2/file2"]
func (*Cloud) FindNewFilesMerge ¶
FindNewFilesMerge returns all files in the provided directory.
Click to show internal directories.
Click to hide internal directories.