MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / convertByobReadOptions

Function convertByobReadOptions

out/cli.cjs:11849–11856  ·  view source on GitHub ↗
(options, context)

Source from the content-addressed store, hash-verified

11847 return mode;
11848 }
11849 function convertByobReadOptions(options, context) {
11850 var _a6;
11851 assertDictionary(options, context);
11852 const min = (_a6 = options === null || options === void 0 ? void 0 : options.min) !== null && _a6 !== void 0 ? _a6 : 1;
11853 return {
11854 min: convertUnsignedLongLongWithEnforceRange(min, `${context} has member 'min' that`)
11855 };
11856 }
11857 function AcquireReadableStreamBYOBReader(stream4) {
11858 return new ReadableStreamBYOBReader2(stream4);
11859 }

Callers 1

readMethod · 0.85

Calls 2

assertDictionaryFunction · 0.85

Tested by

no test coverage detected