Optional: Synchronous fchmod
.
Optional: Asynchronous chown
.
Optional: Synchronous chown
.
Core: Asynchronous close.
Core: Synchronous close.
Supplementary: Asynchronous datasync
.
Default implementation maps to sync
.
Supplementary: Synchronous datasync
.
Default implementation maps to syncSync
.
Core: Get the current file position.
Core: Read data from the file.
The buffer that the data will be written to.
The offset within the buffer where writing will start.
An integer specifying the number of bytes to read.
An integer specifying where to begin reading from in the file. If position is null, data will be read from the current file position.
The number is the number of bytes read
Core: Read data from the file.
The buffer that the data will be written to.
The offset within the buffer where writing will start.
An integer specifying the number of bytes to read.
An integer specifying where to begin reading from in the file. If position is null, data will be read from the current file position.
Core: Asynchronous stat
.
Core: Synchronous stat
.
Core: Asynchronous sync.
Core: Synchronous sync.
Core: Asynchronous truncate.
Core: Synchronous truncate.
Optional: Change the file timestamps of the file.
Optional: Change the file timestamps of the file.
Core: Write buffer to the file. Note that it is unsafe to use fs.write multiple times on the same file without waiting for the callback.
Buffer containing the data to write to the file.
Offset in the buffer to start reading data from.
The amount of bytes to write to the file.
Offset from the beginning of the file where this data should be written. If position is null, the data will be written at the current position.
The number specifies the number of bytes written into the file.
Core: Write buffer to the file. Note that it is unsafe to use fs.writeSync multiple times on the same file without waiting for it to return.
Buffer containing the data to write to the file.
Offset in the buffer to start reading data from.
The amount of bytes to write to the file.
Offset from the beginning of the file where this data should be written. If position is null, the data will be written at the current position.
Generated using TypeDoc
Optional: Asynchronous
fchmod
.