Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
Status summarizes the current git branch and unstaged/staged line changes.
func ReadBranch ¶
ReadBranch returns the current branch name without opening the repository via go-git. Added and Deleted are always zero; use Read for line stats.
Click to show internal directories.
Click to hide internal directories.