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

Function writeLine

test/common/debugger.js:159–168  ·  view source on GitHub ↗
(input, flush = true)

Source from the content-addressed store, hash-verified

157 },
158
159 writeLine(input, flush = true) {
160 if (flush) {
161 this.flushOutput();
162 }
163 if (process.env.VERBOSE === '1') {
164 process.stderr.write(`< ${input}\n`);
165 }
166 child.stdin.write(input);
167 child.stdin.write('\n');
168 },
169
170 command(input, flush = true) {
171 this.writeLine(input, flush);

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…