package
0.6.1
Repository: https://github.com/isacikgoz/gitbatch.git
Documentation: pkg.go.dev

# Functions

New creates a Gui object and fill it's state related entities.

# Constants

CheckoutMode checkout selected repositories.
CommitDiffMode when dynamic mode morphed into commit diff mode.
CommitStatMode when dynamic mode morphed into commit stat mode.
FetchMode puts the gui in fetch state.
FileDiffMode when dynamic mode morphed into file diff mode.
MergeMode puts the gui in merge state.
PullMode puts the gui in pull state.
StashDiffMode when dynamic mode morphed into stash diff mode.
StashStatMode when dynamic mode morphed into stash status mode.
StatusMode when dynamic mode morphed into repository status mode.

# Structs

DiffStatDecorationRules is a rule set for creating diffstat text.
DiffStatItem is a line of a diff stat.
Gui struct hold the gocui struct along with the gui's state, also keybindings are tied with this struct in order to render those in different occasions.
KeyBinding struct is helpful for not re-writing the same function over and over again.
RepositoryDecorationRules is a rule set for creating repository labels.

# Type aliases

DynamicViewMode is a indicator of dynamic view mode and it is also used as the views title.
Layout tells the gui how to order views.
ModeID is the mode indicator for the gui.