The file system adapter for this instance.
An internal cache of paths removed from root.
The root of the file system tree.
The separator character for this file system.
Add a given path to the rm cache.
Commit the current state of the file system to persistent storage.
Delete a file; if the target is a hardlink, also deletes the link contents. Returns false if the item does not exist.
Check to see if a path exists in the virtual file system tree.
Determine if a given path is included in the rm cache.
Create a link to a folder or file; optionally create as a hardlink. Returns false if the link cannot be created.
Make a directory or directory tree; silently continues if path already exists.
Read the contents of a file. If the adapter supports pass-through read, the file will be read from persistent storage if it is not in the virtual dile system.
Remove a directory and it's contents. If the path is a folder link, both the link and the link target will be removed.
Prepare the file system with a snapshot of the underlying persistent file system.
Remove a link; returns false if not a link. Does not delete files, this is not a Node API.
Write the contents of a file; creating directories in the tree as needed. Optionally append to the file.
Generated using TypeDoc
Create a JavaScript virtual file system in memory.