gitdiff

package
v1.31.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL