Documentation
¶
Overview ¶
Package branches provides logic for finding and managing branches across multiple git repositories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MergedBranch ¶
MergedBranch represents a branch that has been merged into the default branch.
func FindMerged ¶
func FindMerged(repos []string, workers int) ([]MergedBranch, error)
FindMerged scans the given repositories and returns branches that have been merged into each repo's default branch. The current branch and the default branch itself are excluded from results. Work is parallelized across the given number of workers.
func (MergedBranch) Label ¶
func (m MergedBranch) Label() string
Label returns a display string for the merged branch in the form "repo: branch".
Click to show internal directories.
Click to hide internal directories.