ui

package
v0.0.0-...-fc220f9 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialModel

func InitialModel(config Config) model

func RenderUI

func RenderUI(config Config)

func RightPadTrim

func RightPadTrim(s string, length int) string

func Trim

func Trim(s string, length int) string

Types

type Commit

type Commit struct {
	Commit *object.Commit
}

func (Commit) Description

func (c Commit) Description() string

func (Commit) FilterValue

func (commit Commit) FilterValue() string

func (Commit) Title

func (commit Commit) Title() string

type Config

type Config struct {
	Path            string
	IgnorePattern   string
	OpenInEditorCmd []string
	Repo            *git.Repository
}

type Pane

type Pane uint

Jump to

Keyboard shortcuts

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