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

Function Gt

out/cli.cjs:8031–8043  ·  view source on GitHub ↗
(e3, r3)

Source from the content-addressed store, hash-verified

8029 return void 0 !== e3._reader;
8030}
8031function Gt(e3, r3) {
8032 if (e3._disturbed = true, "closed" === e3._state) return c3(void 0);
8033 if ("errored" === e3._state) return d6(e3._storedError);
8034 Xt(e3);
8035 const o3 = e3._reader;
8036 if (void 0 !== o3 && Fe(o3)) {
8037 const e4 = o3._readIntoRequests;
8038 o3._readIntoRequests = new S5(), e4.forEach((e5) => {
8039 e5._closeSteps(void 0);
8040 });
8041 }
8042 return p3(e3._readableStreamController[T5](r3), t);
8043}
8044function Xt(e3) {
8045 e3._state = "closed";
8046 const t2 = e3._reader;

Callers 2

P3Function · 0.85
cancelMethod · 0.85

Calls 6

c3Function · 0.85
d6Function · 0.85
XtFunction · 0.85
FeFunction · 0.85
p3Function · 0.85
forEachMethod · 0.45

Tested by

no test coverage detected