refs

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bubble

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

func NewBubble

func NewBubble(repo common.GitRepo, styles *style.Styles, width, widthMargin, height, heightMargin int) *Bubble

func (*Bubble) Help

func (b *Bubble) Help() []common.HelpEntry

func (*Bubble) Init

func (b *Bubble) Init() tea.Cmd

func (*Bubble) SetBranch

func (b *Bubble) SetBranch(ref *git.Reference) (tea.Model, tea.Cmd)

func (*Bubble) SetSize

func (b *Bubble) SetSize(width, height int)

func (*Bubble) Update

func (b *Bubble) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Bubble) View

func (b *Bubble) View() string

type RefMsg

type RefMsg = *git.Reference

Jump to

Keyboard shortcuts

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