Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePreview ¶
GeneratePreview generates a preview of the branch for the TUI preview window
Types ¶
type Branch ¶
type Branch struct {
Name string
IsCurrent bool
IsRemote bool
LastCommit string
LastCommitMessage string
CommitDate string
CommitTimestamp int64 // Unix timestamp for recency scoring
}
Branch represents a git branch
func CollectBranches ¶
func CollectBranches() []Branch
CollectBranches collects all git branches (local and remote)
Click to show internal directories.
Click to hide internal directories.