Documentation ¶
Index ¶
Constants ¶
View Source
const (
Implementation git.Implementation = "libgit2"
)
Variables ¶
This section is empty.
Functions ¶
func CheckoutStrategyForOptions ¶ added in v0.17.0
func CheckoutStrategyForOptions(ctx context.Context, opt git.CheckoutOptions) git.CheckoutStrategy
CheckoutStrategyForOptions returns the git.CheckoutStrategy for the given git.CheckoutOptions.
Types ¶
type CheckoutBranch ¶
type CheckoutCommit ¶
type CheckoutCommit struct {
Commit string
}
type CheckoutSemVer ¶
type CheckoutSemVer struct {
SemVer string
}
type CheckoutTag ¶
Click to show internal directories.
Click to hide internal directories.