Enables interacting with the file system in a way modeled on Node.js fs
module which in turn is modeled on standard POSIX functions.
- See also
- Companion
- object
Value members
Abstract methods
Inherited methods
Reads all data from the file at the specified path.
Reads all data from the file at the specified path.
- Inherited from
- ReadFiles
Returns a ReadCursor
for the specified path.
Returns a ReadCursor
for the specified path.
- Inherited from
- ReadFiles
Reads a range of data synchronously from the file at the specified path.
start
is inclusive, end
is exclusive, so when start
is 0 and end
is 2,
two bytes are read.
Reads a range of data synchronously from the file at the specified path.
start
is inclusive, end
is exclusive, so when start
is 0 and end
is 2,
two bytes are read.
- Inherited from
- ReadFiles
Returns an infinite stream of data from the file at the specified path.
Starts reading from the specified offset and upon reaching the end of the file,
polls every pollDuration
for additional updates to the file.
Returns an infinite stream of data from the file at the specified path.
Starts reading from the specified offset and upon reaching the end of the file,
polls every pollDuration
for additional updates to the file.
Read operations are limited to emitting chunks of the specified chunk size but smaller chunks may occur.
If an error occurs while reading from the file, the overall stream fails.
- Inherited from
- ReadFiles