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

Function createReadStream

lib/internal/vfs/setup.js:447–454  ·  view source on GitHub ↗
(path, options)

Source from the content-addressed store, hash-verified

445 // ==================== Stream ops ====================
446
447 createReadStream(path, options) {
448 const pathStr = toPathStr(path);
449 if (pathStr !== null) {
450 const r = findVFSForPath(pathStr);
451 if (r !== null) return r.vfs.createReadStream(r.normalized, options);
452 }
453 return undefined;
454 },
455 createWriteStream(path, options) {
456 const pathStr = toPathStr(path);
457 if (pathStr !== null) {

Callers

nothing calls this directly

Calls 3

toPathStrFunction · 0.85
findVFSForPathFunction · 0.85
createReadStreamMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…