Internal
Protected
Optional
Internal
_mountThe last place this file system was mounted
Protected
Internal
_uuidThe UUID of the file system.
Readonly
attributesOptional
labelReadonly
nameThe name for this file system. For example, tmpfs for an in memory one
Readonly
nodeFSReadonly
prefixReadonly
typeA unique ID for this kind of file system. Currently unused internally, but could be used for partition tables or something
Test whether or not path
exists.
Test whether or not path
exists.
Create a hard link.
Create a hard link synchronously.
Reads into a buffer
The buffer to read into. You must set the byteOffset
and byteLength
appropriately!
The position in the file to stop reading
Read the contents of a directory.
Read the contents of a directory synchronously.
Reads into a buffer
The buffer to read into. You must set the byteOffset
and byteLength
appropriately!
The position in the file to stop reading
Rename a file or directory.
Rename a file or directory synchronously.
Remove a directory.
Remove a directory synchronously.
Synchronize data to the file system.
Synchronize data to the file system synchronously.
Unlink (delete) a file.
Unlink (delete) a file synchronously.
Writes a buffer to a file
The buffer to write. You must set the byteOffset
and byteLength
appropriately!
The offset in the file to start writing
Writes a buffer to a file
The buffer to write. You must set the byteOffset
and byteLength
appropriately!
The offset in the file to start writing
Provides a consistent and easy to use internal API. Default implementations for
exists
andexistsSync
are included. If you are extending this class, note that every path is an absolute path and all arguments are present.