splitassign

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DestinationSpec

type DestinationSpec struct {
	Type        DestinationType
	ChangeID    string
	Description string
}

type DestinationType

type DestinationType int
const (
	DestExistingRevision DestinationType = iota
	DestNewCommit
)

type Model

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

func New

func New() Model

func (*Model) AssignNewCommitToCurrentTag

func (m *Model) AssignNewCommitToCurrentTag(description string)

func (*Model) AssignNewCommitToTag

func (m *Model) AssignNewCommitToTag(tag SplitTag, description string)

func (*Model) AssignRevisionToCurrentTag

func (m *Model) AssignRevisionToCurrentTag()

func (Model) GetDestinations

func (m Model) GetDestinations() map[SplitTag]*DestinationSpec

func (*Model) Hide

func (m *Model) Hide()

func (*Model) IsVisible

func (m *Model) IsVisible() bool

func (*Model) MoveDown

func (m *Model) MoveDown()

func (*Model) MoveUp

func (m *Model) MoveUp()

func (*Model) SetRevisions

func (m *Model) SetRevisions(revisions []jj.RevisionEntry)

func (*Model) SetTags

func (m *Model) SetTags(tags []SplitTag)

func (*Model) Show

func (m *Model) Show()

func (*Model) ToggleFocus

func (m *Model) ToggleFocus()

func (Model) View

func (m Model) View(width, height int) string

type SplitTag

type SplitTag rune

Jump to

Keyboard shortcuts

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