Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "backend/Dropbox"

Index

Type aliases

DropboxClient

DropboxClient: Dropbox

Variables

Const Dropbox

Dropbox: Dropbox

Functions

ContinueReadingDir

  • ContinueReadingDir(client: DropboxClient, path: string, res: ListFolderResult, previousEntries: string[], cb: BFSCallback<string[]>): void

ExtractTheFuckingError

  • ExtractTheFuckingError<T>(e: Error<T>): T

FilesDeleteWrapped

FixPath

  • FixPath(p: string): string
  • Dropbox paths do not begin with a /, they just begin with a folder at the root node. Here, we strip the /.

    Parameters

    • p: string

      An absolute path

    Returns string

GetErrorMessage

  • GetErrorMessage(err: Error<any>): string

LookupErrorToError

  • LookupErrorToError(err: DropboxTypes.files.LookupError, p: string, msg: string): ApiError

ProcessListFolderError

  • ProcessListFolderError(e: Error<DropboxTypes.files.ListFolderError>, path: string, cb: BFSCallback<string[]>): void

WriteErrorToError

  • WriteErrorToError(err: DropboxTypes.files.WriteError, p: string, msg: string): ApiError

Generated using TypeDoc