MCPcopy
hub / github.com/openai/codex-plugin-cc / formatSection

Function formatSection

plugins/codex/scripts/lib/git.mjs:192–194  ·  view source on GitHub ↗
(title, body)

Source from the content-addressed store, hash-verified

190}
191
192function formatSection(title, body) {
193 return [`## ${title}`, "", body.trim() ? body.trim() : "(none)", ""].join("\n");
194}
195
196function formatUntrackedFile(cwd, relativePath) {
197 const absolutePath = path.join(cwd, relativePath);

Callers 2

collectBranchContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected