Protected
_readyStatic
CreateStatic
Readonly
NameThe available space
The name of the FS
Wheter the FS is readonly or not
Does the FS support properties
Does the FS support synchronous operations
The total space
Private
_initializeInitialize the file system. Ensures that the wrapped file system has the given folder.
Asynchronous access.
Synchronous access.
Asynchronous chmod
.
Synchronous chmod
.
Asynchronous chown
.
Synchronous chown
.
Test whether or not the given path exists by checking with the file system. Then call the callback argument with either true or false.
Test whether or not the given path exists by checking with the file system.
Asynchronous link
.
Synchronous link
.
Asynchronous mkdir
.
Mode to make the directory using. Can be ignored if the filesystem doesn't support permissions.
Synchronous mkdir
.
Mode to make the directory using. Can be ignored if the filesystem doesn't support permissions.
Asynchronous 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 '..'
.
Synchronous readdir
. Reads the contents of a directory.
Asynchronous readlink.
Synchronous readlink.
Asynchronous realpath
. The callback gets two arguments
(err, resolvedPath)
.
Note that the Node API will resolve path
to an absolute path.
Synchronous realpath
.
Note that the Node API will resolve path
to an absolute path.
Asynchronous rename. No arguments other than a possible exception are given to the completion callback.
Synchronous rename.
Asynchronous rmdir
.
Synchronous rmdir
.
Asynchronous symlink
.
can be either 'dir'
or 'file'
Synchronous symlink
.
can be either 'dir'
or 'file'
Asynchronous truncate
.
Synchronous truncate
.
Asynchronous unlink
.
Synchronous unlink
.
Change file timestamps of the file referenced by the supplied path.
Change file timestamps of the file referenced by the supplied path.
Static
isGenerated using TypeDoc
The FolderAdapter file system wraps a file system, and scopes all interactions to a subfolder of that file system.
Example: Given a file system
foo
with folderbar
and filebar/baz
...