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

Function gitChecked

plugins/codex/scripts/lib/git.mjs:15–17  ·  view source on GitHub ↗
(cwd, args, options = {})

Source from the content-addressed store, hash-verified

13}
14
15function gitChecked(cwd, args, options = {}) {
16 return runCommandChecked("git", args, { cwd, ...options });
17}
18
19function listUniqueFiles(...groups) {
20 return [...new Set(groups.flat().filter(Boolean))].sort();

Callers 7

buildBranchComparisonFunction · 0.85
getRepoRootFunction · 0.85
getCurrentBranchFunction · 0.85
getWorkingTreeStateFunction · 0.85
collectBranchContextFunction · 0.85
collectReviewContextFunction · 0.85

Calls 1

runCommandCheckedFunction · 0.90

Tested by

no test coverage detected