MCPcopy
hub / github.com/rollup/rollup / read

Function read

test/cli/samples/stdin/stdin-error/wrapper.js:7–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5process.stdin = new Readable({
6 encoding: 'utf8',
7 read() {
8 const error = new Error('Stream is broken.');
9 return this.destroy ? this.destroy(error) : this.emit('error', error);
10 }
11});
12
13require('../../../../../dist/bin/rollup');

Callers

nothing calls this directly

Calls 1

emitMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…