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

Function convertIterableToBuffer

out/cli.cjs:48019–48023  ·  view source on GitHub ↗
(iterable)

Source from the content-addressed store, hash-verified

48017 };
48018 }
48019 async function* convertIterableToBuffer(iterable) {
48020 for await (const chunk of iterable) {
48021 yield Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
48022 }
48023 }
48024 var ReadableStream7;
48025 function ReadableStreamFrom(iterable) {
48026 if (!ReadableStream7) {

Callers 1

ReadableStreamFromFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…