Documentation
¶
Overview ¶
Package gitdiff computes the set of added/changed lines per file between a base ref and the working tree, for "new code" (Clean-as-You-Code) gating: a finding is "new" when it sits on a changed line. It shells out to git (argv only, no shell) and parses a --unified=0 diff. Read-only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangedLines ¶
ChangedLines maps a repo-relative file path to the set of its added/changed 1-based line numbers.
Click to show internal directories.
Click to hide internal directories.