MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / getBufferedData

Function getBufferedData

out/cli.cjs:66672–66682  ·  view source on GitHub ↗
(stream4, streamPromise)

Source from the content-addressed store, hash-verified

66670 if (spawned.stdout) {
66671 mixed.add(spawned.stdout);
66672 }
66673 if (spawned.stderr) {
66674 mixed.add(spawned.stderr);
66675 }
66676 return mixed;
66677};
66678var getBufferedData = async (stream4, streamPromise) => {
66679 if (!stream4 || streamPromise === void 0) {
66680 return;
66681 }
66682 stream4.destroy();
66683 try {
66684 return await streamPromise;
66685 } catch (error) {

Callers 1

getSpawnedResultFunction · 0.85

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected