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

Function start

out/cli.cjs:968–978  ·  view source on GitHub ↗
(t2 = "")

Source from the content-addressed store, hash-verified

966 let r3, n2;
967 const s2 = p2 ? 80 : 120;
968 return { start(t2 = "") {
969 t2 = t2.replace(/\.?\.?\.$/, ""), r3 = WD(), process.stdout.write(`${import_picocolors2.default.gray(a2)}
970${import_picocolors2.default.magenta("\u25CB")} ${t2}
971`);
972 let i3 = 0, c4 = 0;
973 n2 = setInterval(() => {
974 let l3 = C3[i3];
975 process.stdout.write(import_sisteransi2.cursor.move(-999, -1)), process.stdout.write(`${import_picocolors2.default.magenta(l3)} ${t2}${Math.floor(c4) >= 1 ? ".".repeat(Math.floor(c4)).slice(0, 3) : ""}
976`), i3 = i3 === C3.length - 1 ? 0 : i3 + 1, c4 = c4 === C3.length ? 0 : c4 + 0.125;
977 }, s2);
978 }, stop(t2 = "") {
979 process.stdout.write(import_sisteransi2.cursor.move(-999, -2)), process.stdout.write(import_sisteransi2.erase.down(2)), clearInterval(n2), process.stdout.write(`${import_picocolors2.default.gray(a2)}
980${import_picocolors2.default.green(f2)} ${t2}
981`), r3();

Callers

nothing calls this directly

Calls 13

WDFunction · 0.85
findBoundaryFunction · 0.85
parseEventFunction · 0.85
pumpFunction · 0.85
writeMethod · 0.45
sliceMethod · 0.45
getReaderMethod · 0.45
readMethod · 0.45
setMethod · 0.45
enqueueMethod · 0.45
errorMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…