MCPcopy
hub / github.com/di-sukharev/opencommit / makeAllStream

Function makeAllStream

out/cli.cjs:66659–66671  ·  view source on GitHub ↗
(spawned, { all: all3 })

Source from the content-addressed store, hash-verified

66657 return;
66658 }
66659 if (isStream(input)) {
66660 input.pipe(spawned.stdin);
66661 } else {
66662 spawned.stdin.end(input);
66663 }
66664};
66665var makeAllStream = (spawned, { all: all3 }) => {
66666 if (!all3 || !spawned.stdout && !spawned.stderr) {
66667 return;
66668 }
66669 const mixed = (0, import_merge_stream.default)();
66670 if (spawned.stdout) {
66671 mixed.add(spawned.stdout);
66672 }
66673 if (spawned.stderr) {
66674 mixed.add(spawned.stderr);

Callers 1

execaFunction · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…