Options
All
  • Public
  • Public/Protected
  • All
Menu

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 LocalStorage with AsyncMirror, use the following object:

var config = {
  fs: "AsyncMirror",
  options: {
    sync: {fs: "LocalStorage"},
    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

Index

Properties

Properties

fs

fs: string

Optional options

options: any

Generated using TypeDoc