Abstract
Internal
A unique ID for this kind of file system. Currently unused internally, but could be used for partition tables or something
The name for this file system. For example, tmpfs for an in memory one
Protected
Optional
Internal
_mountThe last place this file system was mounted
Readonly
attributesReadonly
idA unique ID for this kind of file system. Currently unused internally, but could be used for partition tables or something
Optional
labelReadonly
nameThe name for this file system. For example, tmpfs for an in memory one
Abstract
createCreate the file at path
with the given options. Then, open it with flag
.
Abstract
createCreate the file at path
with the given options. Then, open it with flag
.
Test whether or not path
exists.
Test whether or not path
exists.
Abstract
linkAbstract
linkAbstract
mkdirAbstract
mkdirAbstract
openOpens the file at path
with flag
. The file must exist.
The path to open.
The flag to use when opening the file.
Abstract
openOpens the file at path
with flag
. The file must exist.
The path to open.
The flag to use when opening the file.
Abstract
readReads into a buffer
The buffer to read into. You must set the byteOffset
and byteLength
appropriately!
The offset into the file to start reading from
The position in the file to stop reading
Abstract
readdirAbstract
readdirAbstract
readReads into a buffer
The buffer to read into. You must set the byteOffset
and byteLength
appropriately!
The offset into the file to start reading from
The position in the file to stop reading
Abstract
renameAbstract
renameAbstract
rmdirAbstract
rmdirAbstract
statAbstract
statAbstract
syncAbstract
syncAbstract
unlinkAbstract
unlinkAbstract
writeWrites 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
Abstract
writeWrites 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.