Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitDiffer ¶
type GitDiffer interface {
DiffFiles(ctx context.Context, repoPath, fromRef, toRef string) ([]ingitdb.ChangedFile, error)
}
GitDiffer lists files changed between two git refs. The default implementation shells out to `git diff --name-status fromRef toRef`.
func NewGitDiffer ¶ added in v1.25.0
func NewGitDiffer() GitDiffer
NewGitDiffer returns the default GitDiffer, which shells out to git.
Click to show internal directories.
Click to hide internal directories.