@@ -1720,9 +1720,9 @@ By default, the stream will not emit a `'close'` event after it has been
1720
1720
destroyed. This is the opposite of the default for other ` Readable ` streams.
1721
1721
Set the ` emitClose ` option to ` true ` to change this behavior.
1722
1722
1723
- By providing the ` fs ` option it is possible to override the corresponding ` fs `
1724
- implementations for ` open ` , ` read ` and ` close ` . When providing the ` fs ` option,
1725
- you must override ` open ` , ` close ` and ` read ` .
1723
+ By providing the ` fs ` option, it is possible to override the corresponding ` fs `
1724
+ implementations for ` open ` , ` read ` , and ` close ` . When providing the ` fs ` option,
1725
+ overrides for ` open ` , ` read ` , and ` close ` are required .
1726
1726
1727
1727
``` js
1728
1728
const fs = require (' fs' );
@@ -1816,8 +1816,8 @@ Set the `emitClose` option to `true` to change this behavior.
1816
1816
By providing the ` fs ` option it is possible to override the corresponding ` fs `
1817
1817
implementations for ` open ` , ` write ` , ` writev ` and ` close ` . Overriding ` write() `
1818
1818
without ` writev() ` can reduce performance as some optimizations (` _writev() ` )
1819
- will be disabled. When providing the ` fs ` option, you must override ` open ` ,
1820
- ` close ` and at least one of ` write ` and ` writev ` .
1819
+ will be disabled. When providing the ` fs ` option, overrides for ` open ` ,
1820
+ ` close ` , and at least one of ` write ` and ` writev ` are required .
1821
1821
1822
1822
Like [ ` ReadStream ` ] [ ] , if ` fd ` is specified, [ ` WriteStream ` ] [ ] will ignore the
1823
1823
` path ` argument and will use the specified file descriptor. This means that no
@@ -4237,8 +4237,8 @@ in that they provide an object oriented API for working with files.
4237
4237
If a ` FileHandle ` is not closed using the
4238
4238
` filehandle.close() ` method, it might automatically close the file descriptor
4239
4239
and will emit a process warning, thereby helping to prevent memory leaks.
4240
- Please do not rely on this behavior in your code because it is unreliable and
4241
- your file may not be closed. Instead, always explicitly close ` FileHandle ` s.
4240
+ Please do not rely on this behavior because it is unreliable and
4241
+ the file may not be closed. Instead, always explicitly close ` FileHandle ` s.
4242
4242
Node.js may change this behavior in the future.
4243
4243
4244
4244
Instances of the ` FileHandle ` object are created internally by the
0 commit comments