Versions in this module Expand all Collapse all v0 v0.6.0 Nov 27, 2021 Changes in this version + const DefaultChunkSize + const MaxChunkSize + var ErrorDownloadUrlNotFound = errors.New("temporary link not found") + func UploadPath(destPath mo_path.DropboxPath, f os.FileInfo) mo_path.DropboxPath + type Download interface + Download func(path mo_path.DropboxPath) (entry mo_file.Entry, localPath mo_path2.FileSystemPath, err error) + DownloadUrl func(path mo_path.DropboxPath) (url string, err error) + func NewDownload(ctx dbx_context.Context) Download + type Export interface + Export func(path mo_path.DropboxPath, opts ...ExportOpt) (export *mo_file.Export, localPath mo_path2.FileSystemPath, err error) + func NewExport(ctx dbx_context.Context) Export + type ExportOpt func(o ExportOpts) ExportOpts + func ExportFormat(format string) ExportOpt + type ExportOpts struct + ExportFormat string + Path string + func (z ExportOpts) Apply(opts []ExportOpt) ExportOpts + type Opts struct + Path string + SharedLinkUrl string + type Upload interface + Add func(destPath mo_path.DropboxPath, filePath string) (entry mo_file.Entry, err error) + Overwrite func(destPath mo_path.DropboxPath, filePath string) (entry mo_file.Entry, err error) + Update func(destPath mo_path.DropboxPath, filePath string, revision string) (entry mo_file.Entry, err error) + func NewUpload(ctx dbx_context.Context, opts ...UploadOpt) Upload + type UploadOpt func(o *UploadOpts) *UploadOpts + func ChunkSizeKb(chunkSizeKb int) UploadOpt + type UploadOpts struct + ChunkSize int64 + Mute bool + type UploadParamMode struct + Tag string + Update string + type UploadParams struct + Autorename bool + ClientModified string + Mode *UploadParamMode + Mute bool + Path string