Abstract Optional options: objectReadonly Abstract metadataStatic Readonly NameAbstract accessAsynchronous access.
Abstract accessSynchronous access.
Abstract appendAbstract appendAbstract chmodAsynchronous chmod.
Abstract chmodSynchronous chmod.
Abstract chownAsynchronous chown.
Abstract chownSynchronous chown.
Abstract existsTest whether or not the given path exists by checking with the file system. Then call the callback argument with either true or false.
Abstract existsTest whether or not the given path exists by checking with the file system.
Abstract linkAsynchronous link.
Abstract linkSynchronous link.
Abstract mkdirAsynchronous mkdir.
Mode to make the directory using. Can be ignored if the filesystem doesn't support permissions.
Abstract mkdirSynchronous mkdir.
Mode to make the directory using. Can be ignored if the filesystem doesn't support permissions.
Abstract openAbstract openAbstract readAbstract readAbstract readdirAsynchronous readdir. Reads the contents of a directory.
The callback gets two arguments (err, files) where files is an array of
the names of the files in the directory excluding '.' and '..'.
Abstract readdirSynchronous readdir. Reads the contents of a directory.
Abstract readlinkAsynchronous readlink.
Abstract readlinkSynchronous readlink.
Abstract realpathAsynchronous realpath. The callback gets two arguments
(err, resolvedPath).
Note that the Node API will resolve path to an absolute path.
Abstract realpathSynchronous realpath.
Note that the Node API will resolve path to an absolute path.
Abstract renameAsynchronous rename. No arguments other than a possible exception are given to the completion callback.
Abstract renameSynchronous rename.
Abstract rmdirAsynchronous rmdir.
Abstract rmdirSynchronous rmdir.
Abstract statAbstract statAbstract symlinkAsynchronous symlink.
can be either 'dir' or 'file'
Abstract symlinkSynchronous symlink.
can be either 'dir' or 'file'
Abstract truncateAsynchronous truncate.
Abstract truncateSynchronous truncate.
Abstract unlinkAsynchronous unlink.
Abstract unlinkSynchronous unlink.
Abstract utimesChange file timestamps of the file referenced by the supplied path.
Abstract utimesChange file timestamps of the file referenced by the supplied path.
Abstract whenAbstract writeAbstract writeGenerated using TypeDoc
Structure for a filesystem. All BrowserFS FileSystems must implement this.
Argument Assumptions
You can assume the following about arguments passed to each API method:
.,.., and other items are resolved into an absolute form.