Protected
Optional
Internal
_disableWhether the sync cache should be disabled. Only affects async things.
Protected
_initializedProtected
Readonly
devicesProtected
Readonly
storeInternal
Protected
allocAdds a new node under a random ID. Retries before giving up in the exceedingly unlikely chance that we try to reuse a random id.
Protected
allocCreates a new node under a random ID. Retries before giving up in the exceedingly unlikely chance that we try to reuse a random id.
The ino that the data was stored under.
Protected
commitCommits a new file (well, a FILE or a DIRECTORY) to the file system with mode
.
Note: This will commit the transaction.
The path to the new file.
The type of the new file.
The data to store at the file's data node.
Protected
commitCommits a new file (well, a FILE or a DIRECTORY) to the file system with mode
.
Note: This will commit the transaction.
The path to the new file.
The type of the new file.
The data to store at the file's data node.
The Inode for the new file.
Creates a new device at path
relative to the DeviceFS
root.
Create the file at path
with the given options. Then, open it with flag
.
Create the file at path
with the given options. Then, open it with flag
.
Protected
devicesOptional
forceIdentity: booleanProtected
findFinds the Inode of path
.
The path to look up.
The Inode of the path p.
Get metadata about the current file system
Opens the file at path
with flag
. The file must exist.
The path to open.
The flag to use when opening the file.
Opens the file at path
with flag
. The file must exist.
The path to open.
The flag to use when opening the file.
Reads 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
Reads 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
Protected
removeProtected
remove
A temporary file system that manages and interfaces with devices