MCPcopy Index your code
hub / github.com/nodejs/node / createReadStream

Method createReadStream

lib/internal/vfs/file_system.js:997–999  ·  view source on GitHub ↗

* Creates a readable stream for a virtual file. * @param {string} filePath The path to the file * @param {object} [options] Stream options * @returns {ReadStream}

(filePath, options)

Source from the content-addressed store, hash-verified

995 * @returns {ReadStream}
996 */
997 createReadStream(filePath, options) {
998 return new VirtualReadStream(this, filePath, options);
999 }
1000
1001 /**
1002 * Creates a writable stream for a virtual file.

Callers 1

createReadStreamFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected