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

Function _

out/cli.cjs:64645–64656  ·  view source on GitHub ↗
(t2, n2)

Source from the content-addressed store, hash-verified

64643 const { alias: a4 } = o3, l3 = `Flag alias ${h(a4)} for flag ${h(e3)}`;
64644 if (a4.length === 0) throw new Error(`${l3} cannot be empty`);
64645 if (a4.length > 1) throw new Error(`${l3} must be a single character`);
64646 r3(a4, s2);
64647 }
64648 }
64649 return n2;
64650};
64651var _ = (t2, n2) => {
64652 const r3 = {};
64653 for (const e3 in t2) {
64654 if (!w(t2, e3)) continue;
64655 const [o3, , s2, i3] = n2[e3];
64656 if (o3.length === 0 && "default" in i3) {
64657 let { default: a4 } = i3;
64658 typeof a4 == "function" && (a4 = a4()), r3[e3] = a4;
64659 } else r3[e3] = s2 ? o3 : o3.pop();

Callers 1

UFunction · 0.85

Calls 1

wFunction · 0.85

Tested by

no test coverage detected