cherrypicking

package
v0.0.0-...-00ab8b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 3 Imported by: 0

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]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL