| 355 | * Contains typings for static functions on the file system constructor. |
| 356 | */ |
| 357 | export interface FileSystemConstructor { |
| 358 | /** |
| 359 | * **Core**: Name to identify this particular file system. |
| 360 | */ |
| 361 | Name: string; |
| 362 | /** |
| 363 | * **Core**: Describes all of the options available for this file system. |
| 364 | */ |
| 365 | Options: FileSystemOptions; |
| 366 | /** |
| 367 | * **Core**: Creates a file system of this given type with the given |
| 368 | * options. |
| 369 | */ |
| 370 | Create(options: object, cb: BFSCallback<FileSystem>): void; |
| 371 | /** |
| 372 | * **Core**: Returns 'true' if this filesystem is available in the current |
| 373 | * environment. For example, a `localStorage`-backed filesystem will return |
| 374 | * 'false' if the browser does not support that API. |
| 375 | * |
| 376 | * Defaults to 'false', as the FileSystem base class isn't usable alone. |
| 377 | */ |
| 378 | isAvailable(): boolean; |
| 379 | } |
| 380 | |
| 381 | /** |
| 382 | * Basic filesystem class. Most filesystems should extend this class, as it |
no outgoing calls
no test coverage detected