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

Method size

out/cli.cjs:14267–14272  ·  view source on GitHub ↗

* Measures the size of `chunk` by always returning 1. * This ensures that the total queue size is a count of the number of chunks in the queue.

()

Source from the content-addressed store, hash-verified

14265 * This ensures that the total queue size is a count of the number of chunks in the queue.
14266 */
14267 get size() {
14268 if (!IsCountQueuingStrategy(this)) {
14269 throw countBrandCheckException("size");
14270 }
14271 return countSizeFunction;
14272 }
14273 }
14274 Object.defineProperties(CountQueuingStrategy2.prototype, {
14275 highWaterMark: { enumerable: true },

Callers

nothing calls this directly

Calls 2

IsCountQueuingStrategyFunction · 0.85
countBrandCheckExceptionFunction · 0.85

Tested by

no test coverage detected