MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / ExtractSizeAlgorithm

Function ExtractSizeAlgorithm

out/cli.cjs:12047–12053  ·  view source on GitHub ↗
(strategy)

Source from the content-addressed store, hash-verified

12045 return highWaterMark;
12046 }
12047 function ExtractSizeAlgorithm(strategy) {
12048 const { size } = strategy;
12049 if (!size) {
12050 return () => 1;
12051 }
12052 return size;
12053 }
12054 function convertQueuingStrategy(init, context) {
12055 assertDictionary(init, context);
12056 const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark;

Callers 3

constructorMethod · 0.85
constructorMethod · 0.85
constructorMethod · 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…