Documentation
¶
Index ¶
- func DoCommit(t *testing.T, r *gogit.Repository, file string)
- func DoCommitWithMessage(t *testing.T, r *gogit.Repository, file, message string)
- func NewVersionT(t *testing.T, version string) *semver.Version
- func PersistentRepository(t *testing.T) (*gogit.Repository, string)
- func PrintTags(t *testing.T, r *gogit.Repository)
- type TestRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoCommitWithMessage ¶
func DoCommitWithMessage(t *testing.T, r *gogit.Repository, file, message string)
func NewVersionT ¶
func PersistentRepository ¶
func PersistentRepository(t *testing.T) (*gogit.Repository, string)
Types ¶
type TestRepo ¶
type TestRepo struct { Repo *gogit.Repository // contains filtered or unexported fields }
func NewEmptyTestRepo ¶
func NewTestRepo ¶
func (*TestRepo) BranchExists ¶
Click to show internal directories.
Click to hide internal directories.