mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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>