Documentation ¶
Index ¶
Constants ¶
View Source
const (
Implementation git.Implementation = "go-git"
)
Variables ¶
This section is empty.
Functions ¶
func CheckoutStrategyForOptions ¶ added in v0.17.0
func CheckoutStrategyForOptions(_ context.Context, opts git.CheckoutOptions) git.CheckoutStrategy
CheckoutStrategyForOptions returns the git.CheckoutStrategy for the given git.CheckoutOptions.
Types ¶
type CheckoutBranch ¶
type CheckoutCommit ¶
type CheckoutSemVer ¶
type CheckoutTag ¶
type CustomPublicKeys ¶ added in v0.23.0
type CustomPublicKeys struct {
// contains filtered or unexported fields
}
CustomPublicKeys is a wrapper around ssh.PublicKeys to help us customize the ssh config. It implements ssh.AuthMethod.
func (*CustomPublicKeys) ClientConfig ¶ added in v0.23.0
func (a *CustomPublicKeys) ClientConfig() (*gossh.ClientConfig, error)
func (*CustomPublicKeys) Name ¶ added in v0.23.0
func (a *CustomPublicKeys) Name() string
func (*CustomPublicKeys) String ¶ added in v0.23.0
func (a *CustomPublicKeys) String() string
Click to show internal directories.
Click to hide internal directories.