Documentation
¶
Overview ¶
Package git shows the state of a set of local repositories: what branch each is on, how far it has drifted from its upstream, what is uncommitted, and how long ago anyone touched it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Git ¶
Git lists repositories and their state.
func (*Git) Actions ¶
Actions names what enter does, which depends on the level: opening a repository from the list, or staging the file under the cursor inside one.
func (*Git) Lines ¶
Lines is the widget.Liner contract: how tall this widget's content wants to be.
A widget offered a single line takes it and renders the strip — which is how the status bar gets a one-line summary without the dashboard having to say so. Anywhere taller, a list wants a line per repository.