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

Function xt

out/cli.cjs:8014–8024  ·  view source on GitHub ↗
(e3, t2)

Source from the content-addressed store, hash-verified

8012 }(a4, `${t2} has member 'signal' that`), { preventAbort: Boolean(r3), preventCancel: Boolean(o3), preventClose: Boolean(n2), signal: a4 };
8013}
8014function xt(e3, t2) {
8015 F4(e3, t2);
8016 const r3 = null == e3 ? void 0 : e3.readable;
8017 M4(r3, "readable", "ReadableWritablePair"), function(e4, t3) {
8018 if (!H5(e4)) throw new TypeError(`${t3} is not a ReadableStream.`);
8019 }(r3, `${t2} has member 'readable' that`);
8020 const o3 = null == e3 ? void 0 : e3.writable;
8021 return M4(o3, "writable", "ReadableWritablePair"), function(e4, t3) {
8022 if (!x4(e4)) throw new TypeError(`${t3} is not a WritableStream.`);
8023 }(o3, `${t2} has member 'writable' that`), { readable: r3, writable: o3 };
8024}
8025function Vt(e3) {
8026 return !!r2(e3) && (!!Object.prototype.hasOwnProperty.call(e3, "_readableStreamController") && e3 instanceof ReadableStream3);
8027}

Callers 1

pipeThroughMethod · 0.85

Calls 4

F4Function · 0.85
M4Function · 0.85
H5Function · 0.85
x4Function · 0.85

Tested by

no test coverage detected