MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / Ht

Function Ht

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

Source from the content-addressed store, hash-verified

7998 return e3;
7999}
8000function Ht(e3, t2) {
8001 F4(e3, t2);
8002 const r3 = null == e3 ? void 0 : e3.preventAbort, o3 = null == e3 ? void 0 : e3.preventCancel, n2 = null == e3 ? void 0 : e3.preventClose, a4 = null == e3 ? void 0 : e3.signal;
8003 return void 0 !== a4 && function(e4, t3) {
8004 if (!function(e5) {
8005 if ("object" != typeof e5 || null === e5) return false;
8006 try {
8007 return "boolean" == typeof e5.aborted;
8008 } catch (e6) {
8009 return false;
8010 }
8011 }(e4)) throw new TypeError(`${t3} is not an AbortSignal.`);
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;

Callers 2

pipeThroughMethod · 0.85
pipeToMethod · 0.85

Calls 1

F4Function · 0.85

Tested by

no test coverage detected