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

Method getReader

out/cli.cjs:13979–13988  ·  view source on GitHub ↗
(rawOptions = void 0)

Source from the content-addressed store, hash-verified

13977 return ReadableStreamCancel(this, reason);
13978 }
13979 getReader(rawOptions = void 0) {
13980 if (!IsReadableStream(this)) {
13981 throw streamBrandCheckException$1("getReader");
13982 }
13983 const options = convertReaderOptions(rawOptions, "First parameter");
13984 if (options.mode === void 0) {
13985 return AcquireReadableStreamDefaultReader(this);
13986 }
13987 return AcquireReadableStreamBYOBReader(this);
13988 }
13989 pipeThrough(rawTransform, rawOptions = {}) {
13990 if (!IsReadableStream(this)) {
13991 throw streamBrandCheckException$1("pipeThrough");

Callers

nothing calls this directly

Calls 5

IsReadableStreamFunction · 0.85
convertReaderOptionsFunction · 0.85

Tested by

no test coverage detected