Internal
Protected
Optional
Internal
_disableWhether the sync cache should be disabled. Only affects async things.
Readonly
nodeFSReadonly
prefixCreate a file.
Create a file synchronously.
Get metadata about the current file system
Open a file.
Open a file synchronously.
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
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.