analyze

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Branches added in v0.2.0

func Branches(
	ctx context.Context, branches []types.BranchInfo, mergedStatus map[string]bool,
	cfg config.Config, currentBranchName string,
) ([]types.AnalyzedBranch, error)

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. It now also performs a 'git cherry -v' check for non-merged, non-protected branches.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL