Documentation ¶
Overview ¶
Package git defines the functionality to interact with the git CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git interface { // DiffDirsAbs returns the directories changed using the git diff command DiffDirsAbs(ctx context.Context, baseRef, headRef string) ([]string, error) }
Git defined the common git functionality.
type GitClient ¶
type GitClient struct {
// contains filtered or unexported fields
}
GitClient implements the git interface.
func NewGitClient ¶
NewGitClient creates a new Terraform client.
type MockGitClient ¶
MockGitClient implements the git interface.
func (*MockGitClient) DiffDirsAbs ¶
DiffDirsAbs runs a git diff between two revisions and returns the list of directories with changes.
Click to show internal directories.
Click to hide internal directories.