property ReadStream.prototype.path
Usage in Deno
import { ReadStream } from "node:fs";
The path to the file the stream is reading from as specified in the first
argument to fs.createReadStream()
. If path
is passed as a string, thenreadStream.path
will be a string. If path
is passed as a Buffer
, thenreadStream.path
will be a
Buffer
. If fd
is specified, thenreadStream.path
will be undefined
.
string | Buffer