Documentation ¶
Index ¶
- type ArtifactCommit
- type GitView
- func (gv *GitView) BranchName() (string, error)
- func (gv *GitView) ChangeLog(currentCommit, previousCommit string, logger *logger.Logger) ([]*ArtifactCommit, error)
- func (gv *GitView) CommitsBetween(oldest, newest string, logger *logger.Logger) ([]*ArtifactCommit, error)
- func (gv *GitView) RepoUrl() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactCommit ¶
type GitView ¶
type GitView struct {
// contains filtered or unexported fields
}
GitView A read-only view of a git repository.
func (*GitView) BranchName ¶
BranchName returns the current branch name on a repository, or an error if the repo head is not on a branch
func (*GitView) CommitsBetween ¶
func (gv *GitView) CommitsBetween(oldest, newest string, logger *logger.Logger) ([]*ArtifactCommit, error)
CommitsBetween list all commits that have happened between two commits in a git repo
Click to show internal directories.
Click to hide internal directories.