Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBranch ¶
func WithBranch(b string) func(opts *InitOptions) error
Types ¶
type InitOptions ¶
type Repository ¶
type Repository struct {
Dir string
}
func Init ¶
func Init(t *testing.T, optFunc ...func(*InitOptions) error) Repository
Init initialize a repository and return its path
func (*Repository) CreateBranch ¶
func (r *Repository) CreateBranch(t *testing.T, branches ...string)
Click to show internal directories.
Click to hide internal directories.