MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / section

Method section

out/cli.cjs:65136–65140  ·  view source on GitHub ↗
({ title: e3, body: r3, indentBody: n2 = 2 })

Source from the content-addressed store, hash-verified

65134 return J2 ? `\x1B[1m${e3}\x1B[22m` : e3.toLocaleUpperCase();
65135 }
65136 indentText({ text: e3, spaces: r3 }) {
65137 return e3.replace(/^/gm, " ".repeat(r3));
65138 }
65139 heading(e3) {
65140 return this.bold(e3);
65141 }
65142 section({ title: e3, body: r3, indentBody: n2 = 2 }) {
65143 return `${(e3 ? `${this.heading(e3)}

Callers

nothing calls this directly

Calls 3

headingMethod · 0.80
indentTextMethod · 0.80
renderMethod · 0.80

Tested by

no test coverage detected