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

Function lazyLoadStreams

lib/fs.js:3719–3725  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3717}
3718
3719function lazyLoadStreams() {
3720 if (!ReadStream) {
3721 ({ ReadStream, WriteStream } = require('internal/fs/streams'));
3722 FileReadStream = ReadStream;
3723 FileWriteStream = WriteStream;
3724 }
3725}
3726
3727/**
3728 * Creates a readable stream with a default `highWaterMark`

Callers 6

createReadStreamFunction · 0.85
createWriteStreamFunction · 0.85
ReadStreamFunction · 0.85
WriteStreamFunction · 0.85
FileReadStreamFunction · 0.85
FileWriteStreamFunction · 0.85

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…