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

Method size

out/cli.cjs:14215–14220  ·  view source on GitHub ↗

* Measures the size of `chunk` by returning the value of its `byteLength` property.

()

Source from the content-addressed store, hash-verified

14213 * Measures the size of `chunk` by returning the value of its `byteLength` property.
14214 */
14215 get size() {
14216 if (!IsByteLengthQueuingStrategy(this)) {
14217 throw byteLengthBrandCheckException("size");
14218 }
14219 return byteLengthSizeFunction;
14220 }
14221 }
14222 Object.defineProperties(ByteLengthQueuingStrategy2.prototype, {
14223 highWaterMark: { enumerable: true },

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected