diff --git a/doc/api/fs.md b/doc/api/fs.md index f8390de7182702..7ebc3ac309b0e6 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -318,6 +318,10 @@ fd.createReadStream({ start: 90, end: 99 }); * `options` {Object} @@ -326,6 +330,8 @@ added: v16.11.0 * `emitClose` {boolean} **Default:** `true` * `start` {integer} * `highWaterMark` {number} **Default:** `16384` + * `flush` {boolean} If `true`, the underlying file descriptor is flushed + prior to closing it. **Default:** `false`. * Returns: {fs.WriteStream} `options` may also include a `start` option to allow writing data at some @@ -2538,6 +2544,9 @@ If `options` is a string, then it specifies the encoding.