FsConnector

FsConnector

Service connector for the local filesystem.

Constructor

new FsConnector(config)

Source:
Parameters:
Name Type Description
config Object

Configuration object

Properties
Name Type Attributes Default Description
sandbox string | Array.<string> <optional>

Restrict connector access to this path (if string) or these paths (if array)

rootPath string <optional>

Path against all relative paths will be resolved. Default to the first sandbox path if given or /.

showHiddenFiles boolean <optional>
false

Flag to show hidden files.

infos ConnectorStaticInfos <optional>

Connector infos to override

Throws:

Invalid sandbox path.

Type
Error