git

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const HelpText = `` /* 202-byte string literal not displayed */

Variables

View Source
var Config *config.Config

Config is a pointer to the global config object

Functions

This section is empty.

Types

type GitRepo

type GitRepo struct {
	Branch       string
	ChangedFiles []string
	Commits      []string
	Repository   string
	Path         string
}

func NewGitRepo

func NewGitRepo(repoPath string) *GitRepo

type Widget

type Widget struct {
	wtf.TextWidget

	Data []*GitRepo
	Idx  int
	// contains filtered or unexported fields
}

func NewWidget

func NewWidget(app *tview.Application, pages *tview.Pages) *Widget

func (*Widget) Next

func (widget *Widget) Next()

func (*Widget) Prev

func (widget *Widget) Prev()

func (*Widget) Refresh

func (widget *Widget) Refresh()

Jump to

Keyboard shortcuts

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