Versions in this module Expand all Collapse all v0 v0.21.1 Feb 24, 2022 Changes in this version + const Implementation + func CheckoutStrategyForOptions(ctx context.Context, opt git.CheckoutOptions) git.CheckoutStrategy + func RemoteCallbacks(ctx context.Context, opts *git.AuthOptions) git2go.RemoteCallbacks + type CheckoutBranch struct + Branch string + func (c *CheckoutBranch) Checkout(ctx context.Context, path, url string, opts *git.AuthOptions) (*git.Commit, error) + type CheckoutCommit struct + Commit string + func (c *CheckoutCommit) Checkout(ctx context.Context, path, url string, opts *git.AuthOptions) (*git.Commit, error) + type CheckoutSemVer struct + SemVer string + func (c *CheckoutSemVer) Checkout(ctx context.Context, path, url string, opts *git.AuthOptions) (*git.Commit, error) + type CheckoutTag struct + Tag string + func (c *CheckoutTag) Checkout(ctx context.Context, path, url string, opts *git.AuthOptions) (*git.Commit, error)