Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyzeBranches ¶
func AnalyzeBranches(branches []types.BranchInfo, mergedStatus map[string]bool, cfg config.Config, currentBranchName string) []types.AnalyzedBranch
AnalyzeBranches categorizes branches based on merge status, age, and protection rules. It takes raw branch info, a map indicating which branches are merged into the primary main branch, the application configuration, and the name of the currently checked-out branch.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.