Documentation ¶
Index ¶
Constants ¶
View Source
const ( TestAuthor = "modularise-tester" TestEmail = "test@modularise.com" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoAction ¶
type RepoAction func(*TestRepo)
func AddFile ¶
func AddFile(file RepoFile) RepoAction
func AnnotatedTag ¶
func AnnotatedTag(name string) RepoAction
func Commit ¶
func Commit(message string) RepoAction
func LightTag ¶
func LightTag(name string) RepoAction
type TestRepo ¶
type TestRepo struct {
// contains filtered or unexported fields
}
func CreateTestRepo ¶
func CreateTestRepo(t *testing.T, actions []RepoAction) *TestRepo
func (*TestRepo) Apply ¶
func (r *TestRepo) Apply(actions []RepoAction)
func (*TestRepo) Repository ¶
func (r *TestRepo) Repository() *git.Repository
func (*TestRepo) WriteToDisk ¶
Click to show internal directories.
Click to hide internal directories.