mercurial

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MPL-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MercurialRepo

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

func NewMercurialRepo

func NewMercurialRepo(repoPath string, commitCount int, commitFormat string) *MercurialRepo

type Settings

type Settings struct {
	*cfg.Common
	// contains filtered or unexported fields
}

func NewSettingsFromYAML

func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings

type Widget

type Widget struct {
	view.MultiSourceWidget
	view.TextWidget

	Data []*MercurialRepo
	// contains filtered or unexported fields
}

A Widget represents a Mercurial widget

func NewWidget

func NewWidget(tviewApp *tview.Application, redrawChan chan bool, pages *tview.Pages, settings *Settings) *Widget

NewWidget creates a new instance of a widget

func (*Widget) Checkout

func (widget *Widget) Checkout()

func (*Widget) Pull

func (widget *Widget) Pull()

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