This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Documentation: fd
option of fs.createReadStream
#7707
Closed
Description
The documentation for fs.createReadStream
shows that the default value of an fd
option is null
, but it does not explain what it is for or how it interacts with the path parameter (and mode/flags options, etc.) and the autoClose option.
I did find this brief discussion:
https://groups.google.com/forum/#!topic/nodejs/IhLJr57EDWc