Readonly
capabilitiesCapabilities of this file system implementation See README.md for more information
Get a file object for operations
The returned object can store temporary state for the file, such as newer content. Calling openFile with the same path will return the same object.
Note that opening a file doesn't actually block the file from being modified by programs other than the browser.
You can make the FsFileSystem forget about the file by
calling close
on the file object.
Get all paths that getFile
has been called with but not close
d
List files in a directory
The input path should be relative to the root (of the uploaded directory).
Returns a list of file names in the directory (not full paths). Directory names end with a slash.
Returns Fail if the underlying file system operation fails.
Readonly
rootGet the root path of the file system for display
The returned string has no significance in the file system itself. It should only be used as an indicator to the user.
Initialized file system