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

Function N

out/cli.cjs:64660–64670  ·  view source on GitHub ↗
(t2)

Source from the content-addressed store, hash-verified

64658 typeof a4 == "function" && (a4 = a4()), r3[e3] = a4;
64659 } else r3[e3] = s2 ? o3 : o3.pop();
64660 }
64661 return r3;
64662};
64663var F = "--";
64664var G = /[.:=]/;
64665var T = /^-{1,2}\w/;
64666var N = (t2) => {
64667 if (!T.test(t2)) return;
64668 const n2 = !t2.startsWith(F);
64669 let r3 = t2.slice(n2 ? 1 : 2), e3;
64670 const o3 = r3.match(G);
64671 if (o3) {
64672 const { index: s2 } = o3;
64673 e3 = r3.slice(s2 + 1), r3 = r3.slice(0, s2);

Callers 1

$Function · 0.85

Calls 4

testMethod · 0.80
startsWithMethod · 0.80
sliceMethod · 0.45
matchMethod · 0.45

Tested by

no test coverage detected