DropboxArchive

DropboxArchive

new DropboxArchive(context, cb)

Exposes the archive functionality
Parameters:
Name Type Description
context ProcessorContext The context
cb DropboxArchive~callback The callback function
Properties:
Name Type Description
context ProcessorContext The context
object object The zip archive (see https://www.npmjs.com/package/archiver)
cb DropboxArchive~callback The callback function

Methods

upload()

Upload the archive to the dropbox application
Properties:
Name Type Description
cb DropboxArchive~callback The callback function

Type Definitions

callback(err)

Parameters:
Name Type Description
err Error The error occured

uploadCallback(err)

Parameters:
Name Type Description
err Error The error occured