Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CherryPicking ¶
type CherryPicking struct { CherryPickedCommits []*models.Commit // we only allow cherry picking from one context at a time, so you can't copy a commit from the local commits context and then also copy a commit in the reflog context ContextKey string }
func New ¶
func New() *CherryPicking
func (*CherryPicking) Active ¶
func (self *CherryPicking) Active() bool
func (*CherryPicking) Add ¶
func (self *CherryPicking) Add(selectedCommit *models.Commit, commitsList []*models.Commit)
func (*CherryPicking) Remove ¶
func (self *CherryPicking) Remove(selectedCommit *models.Commit, commitsList []*models.Commit)
func (*CherryPicking) SelectedShaSet ¶
func (self *CherryPicking) SelectedShaSet() *set.Set[string]
Click to show internal directories.
Click to hide internal directories.