sequencerui

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestackModel

type RestackModel struct {
	// contains filtered or unexported fields
}

func NewRestackModel

func NewRestackModel(
	repo *git.Repo,
	db meta.DB,
	state *RestackState,
	options RestackStateOptions,
) *RestackModel

func (*RestackModel) Init

func (vm *RestackModel) Init() tea.Cmd

func (*RestackModel) Update

func (vm *RestackModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*RestackModel) View

func (vm *RestackModel) View() string

type RestackProgress

type RestackProgress struct {
	// contains filtered or unexported fields
}

type RestackState

type RestackState struct {
	InitialBranch   string
	RestackingAll   bool
	RelatedBranches []string
	Seq             *sequencer.Sequencer
}

type RestackStateOptions added in v0.1.13

type RestackStateOptions struct {
	Skip       bool
	Continue   bool
	Abort      bool
	DryRun     bool
	Command    string
	OnConflict func() tea.Cmd
	OnAbort    func() tea.Cmd
	OnDone     func() tea.Cmd
}

Jump to

Keyboard shortcuts

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