Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitExecutablePath ¶
GitExecutablePath returns the executable using the git extension env variables if possible.
Types ¶
type GitRepo ¶
type GitRepo struct {
// GitCommand full path to the git executable.
GitCommand string
// WorkDir full path to the current git workdir.
WorkDir string
// GitDir full path to the current .git directory.
GitDir string
// Repo the go-git model for the local repo.
Repo *git.Repository
// Client the github api client.
Client *github.Client
// GithubRepo the remote repository from the Github api.
GithubRepo *github.Repository
// Owner the Github repo owner.
Owner string
// Name the Github repo name.
Name string
}
Click to show internal directories.
Click to hide internal directories.