AnyMux

API Reference

DropboxFileSystem

Implements IFileSystem using the Dropbox API.

Constructor

new DropboxFileSystem(options: DropboxFileSystemOptions)

Options

OptionTypeDescription
accessTokenstringDropbox OAuth2 access token
rootPathstring?Root path within Dropbox (default: "")

Methods

Implements all IFileSystem methods: readFile, writeFile, readDir, stat, mkdir, rm, exists.