branch

package
v4.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 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 Branch

type Branch struct {
	Ctx     *context.ProgramContext
	PR      *data.PullRequestData
	Data    git.Branch
	Columns []table.Column
}

func (*Branch) GetStatusChecksRollup

func (b *Branch) GetStatusChecksRollup() string

func (*Branch) RenderState

func (b *Branch) RenderState() string

func (*Branch) ToTableRow

func (b *Branch) ToTableRow(isSelected bool) table.Row

type BranchData

type BranchData struct {
	Data git.Branch
	PR   *data.PullRequestData
}

func (BranchData) GetNumber

func (b BranchData) GetNumber() int

func (BranchData) GetRepoNameWithOwner

func (b BranchData) GetRepoNameWithOwner() string

func (BranchData) GetTitle

func (b BranchData) GetTitle() string

func (BranchData) GetUpdatedAt

func (b BranchData) GetUpdatedAt() time.Time

func (BranchData) GetUrl

func (b BranchData) GetUrl() string

Jump to

Keyboard shortcuts

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