Documentation ¶
Index ¶
- type Checkout
- func (c *Checkout) Clean(ctx context.Context) error
- func (c *Checkout) CurrentConfig(ctx context.Context) (*autobotcfg.AutobotPerRepoConfig, error)
- func (c *Checkout) PushAllNewBranches(ctx context.Context, client ghapp.GithubAPI) error
- func (c *Checkout) Refresh(ctx context.Context) error
- func (c *Checkout) SetupForWorkingTreeChanger(ctx context.Context) (*git.Worktree, *object.Commit, error)
- type RepoConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkout ¶
type Checkout struct { RepoConfig RepoConfig CheckoutDirectory string Repo *git.Repository Logger *zapctx.Logger // contains filtered or unexported fields }
func NewCheckout ¶
func NewCheckout(ctx context.Context, logger *zapctx.Logger, cfg RepoConfig, cloneDataDirectory string, auth transport.AuthMethod) (*Checkout, error)
func (*Checkout) CurrentConfig ¶
func (c *Checkout) CurrentConfig(ctx context.Context) (*autobotcfg.AutobotPerRepoConfig, error)
func (*Checkout) PushAllNewBranches ¶
Click to show internal directories.
Click to hide internal directories.