doc: add a note about `readStream.path` if `fd` is specified
#40013 changed the behavior of readStream.path
, it'll be undefined
if fd
is specified in fs.createReadStream()
. This is not a breaking change as docs state:
If
fd
is specified,ReadStream
will ignore thepath
argument and will use the specified file descriptor.
However, this would be confusing for those who relied on readStream.path
and this PR adds a note about it.