Internal
Protected
Optional
Internal
_disableWhether the sync cache should be disabled. Only affects async things.
Readonly
readableReadonly
writableCreate 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
.
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
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
OverlayFS makes a read-only filesystem writable by storing writes on a second, writable file system. Deletes are persisted via metadata stored on the writable file system.
This class contains no locking whatsoever. It is mutexed to prevent races.