Interface FileSystemConfiguration

Specifies a file system backend type and its options.

Individual options can recursively contain FileSystemConfiguration objects for option values that require file systems.

For example, to mirror Dropbox to Storage with AsyncMirror, use the following object:

var config = {
fs: "AsyncMirror",
options: {
sync: {fs: "Storage"},
async: {fs: "Dropbox", options: {client: anAuthenticatedDropboxSDKClient }}
}
};

The option object for each file system corresponds to that file system's option object passed to its Create() method.

Hierarchy

  • FileSystemConfiguration

Properties

Properties

fs: string
options?: object

Generated using TypeDoc