Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestConfig git.Config = git.Config{
Branch: "master",
UserName: "example",
UserEmail: "example@example.com",
NotesRef: "fluxtest",
}
Functions ¶
func Checkout ¶
Checkout makes a standard repo, clones it, and returns the clone with a cleanup function.
func CheckoutWithConfig ¶
func CheckoutWithConfig(t *testing.T, config git.Config, syncTag string) (*git.Checkout, *git.Repo, func())
CheckoutWithConfig makes a standard repo, clones it, and returns the clone, the original repo, and a cleanup function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.