Documentation ¶
Index ¶
- func AddCommit(t *testing.T, r *git.Repository, msg string) *object.Commit
- func CaptureStd(t *testing.T, std *os.File) (f *os.File, reset func())
- func LastTagFrom(r *git.Repository) (*plumbing.Reference, error)
- func SetUpRepo() (r *git.Repository, teardown func(), err error)
- func StageNewFile(r *git.Repository) error
- func WriteGitHook(t *testing.T, hook string, content string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LastTagFrom ¶
func StageNewFile ¶
func StageNewFile(r *git.Repository) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.