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

Function We

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

Source from the content-addressed store, hash-verified

7494 "readable" === r3._state && (he(e3), ce2(e3), Ee(e3), Jt(r3, t2));
7495}
7496function We(e3, t2) {
7497 const r3 = e3._queue.shift();
7498 e3._queueTotalSize -= r3.byteLength, ve(e3);
7499 const o3 = new Uint8Array(r3.buffer, r3.byteOffset, r3.byteLength);
7500 t2._chunkSteps(o3);
7501}
7502function ke(e3) {
7503 const t2 = e3._controlledReadableByteStream._state;
7504 return "errored" === t2 ? null : "closed" === t2 ? 0 : e3._strategyHWM - e3._queueTotalSize;

Callers 2

enqueueMethod · 0.85
[q5]Method · 0.85

Calls 2

veFunction · 0.85
shiftMethod · 0.45

Tested by

no test coverage detected