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

Function pull1Algorithm

out/cli.cjs:13712–13725  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13710 ReadableStreamBYOBReaderRead(reader, view, 1, readIntoRequest);
13711 }
13712 function pull1Algorithm() {
13713 if (reading) {
13714 readAgainForBranch1 = true;
13715 return promiseResolvedWith(void 0);
13716 }
13717 reading = true;
13718 const byobRequest = ReadableByteStreamControllerGetBYOBRequest(branch1._readableStreamController);
13719 if (byobRequest === null) {
13720 pullWithDefaultReader();
13721 } else {
13722 pullWithBYOBReader(byobRequest._view, false);
13723 }
13724 return promiseResolvedWith(void 0);
13725 }
13726 function pull2Algorithm() {
13727 if (reading) {
13728 readAgainForBranch2 = true;

Callers 2

pullWithDefaultReaderFunction · 0.85
pullWithBYOBReaderFunction · 0.85

Calls 4

promiseResolvedWithFunction · 0.85
pullWithDefaultReaderFunction · 0.85
pullWithBYOBReaderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…