Files
node/lib/internal/fs
Antoine du Hamel 59fff925be fs: make open and close stream override optional when unused
When using `createReadStream` or `createWriteStream` with a specific
file descriptor or `FileHandle` instead of a path, `open` method is not
used, there is no point in forcing users to provide it.
When using `createReadStream` or `createWriteStream` with  `autoClose`
set to false, `close` method is not used, there is no point in forcing
users to provide it.

PR-URL: https://github.com/nodejs/node/pull/40013
Reviewed-By: James M Snell <jasnell@gmail.com>
2021-09-22 00:27:10 +01:00
..
2021-08-22 08:48:41 +02:00
2021-08-16 16:35:22 -04:00
2021-08-16 16:35:22 -04:00