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

Function U

out/cli.cjs:64712–64728  ·  view source on GitHub ↗
(t2, n2 = process.argv.slice(2), { ignore: r3 } = {})

Source from the content-addressed store, hash-verified

64710 if (o3 || (i3 += s2.slice(e3 + 1)), i3 !== "-") {
64711 t2[r3] = i3;
64712 continue;
64713 }
64714 }
64715 t2.splice(r3, 1);
64716 }
64717};
64718var U = (t2, n2 = process.argv.slice(2), { ignore: r3 } = {}) => {
64719 const e3 = [], o3 = K(t2), s2 = {}, i3 = [];
64720 return i3[F] = [], $(n2, { onFlag(a4, l3, f4) {
64721 const g5 = w(o3, a4);
64722 if (!r3?.(g5 ? V : k, a4, l3)) {
64723 if (g5) {
64724 const [c4, u3] = o3[a4], y6 = d(u3, l3), p4 = (P4, A5) => {
64725 e3.push(f4), A5 && e3.push(A5), c4.push(m(u3, P4 || ""));
64726 };
64727 return y6 === void 0 ? p4 : p4(y6);
64728 }
64729 w(s2, a4) || (s2[a4] = []), s2[a4].push(l3 === void 0 ? true : l3), e3.push(f4);
64730 }
64731 }, onArgument(a4, l3, f4) {

Callers 1

x2Function · 0.85

Calls 5

KFunction · 0.85
$Function · 0.85
EFunction · 0.85
_Function · 0.85
sliceMethod · 0.45

Tested by

no test coverage detected