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

Function O5

out/cli.cjs:7761–7772  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7759 return u2((P4, W6) => {
7760 let k7;
7761 function O5() {
7762 if (w7) return;
7763 const e4 = u2((e5, t3) => {
7764 !function r4(o4) {
7765 o4 ? e5() : f3(function() {
7766 if (w7) return c3(true);
7767 return f3(l3.ready, () => f3(i3.read(), (e6) => !!e6.done || (E4 = l3.write(e6.value), m4(E4), false)));
7768 }(), r4, t3);
7769 }(false);
7770 });
7771 m4(e4);
7772 }
7773 function B3() {
7774 return v5 = "closed", r3 ? L7() : z6(() => (Ge(t2) && (T6 = rt(t2), R7 = t2._state), T6 || "closed" === R7 ? c3(void 0) : "erroring" === R7 || "errored" === R7 ? d6(_7) : (T6 = true, l3.close())), false, void 0), null;
7775 }

Callers 2

ktFunction · 0.85
u3Function · 0.85

Calls 6

u2Function · 0.85
f3Function · 0.85
c3Function · 0.85
m4Function · 0.85
readMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected