diff --git a/doc/api/fs.md b/doc/api/fs.md index b15c7be1d1f192..8442fa2a5a18b4 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 @@ -2514,6 +2520,9 @@ If `options` is a string, then it specifies the encoding.