MCPcopy Create free account
hub / github.com/isomorphic-git/isomorphic-git / lengthBuffers

Function lengthBuffers

src/utils/StreamReader.js:131–133  ·  view source on GitHub ↗
(buffers)

Source from the content-addressed store, hash-verified

129// This helper function helps us postpone concatenating buffers, which
130// would create intermediate buffer objects,
131function lengthBuffers(buffers) {
132 return buffers.reduce((acc, buffer) => acc + buffer.length, 0)
133}

Callers 1

_accumulateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…