Imports TDO representing file system object into the target path.
Returns information about the given file or directory.
The method is similar to the stat
method except it doesn't follow symlinks.
When given a path that is a symlink it returns the stat of the symlink and not its target.
Asynchronously reads the entire contents of a file.
Resolves with the contents of the file as an Uint8Array
or a string
if the encoding is set to utf8
.
Asynchronously writes data to a file, replacing the file if it already exists.
Data can be a string
or an Uint8Array
.
The encoding option is ignored if data is an Uint8Array
.
Generated using TypeDoc
Represents FsClient implementation which keeps all data in memory. Could be useful for testing when data persistence is not required. Meant to be used in Node.js and browser environments.