Documentation
¶
Index ¶
- Constants
- func CraftBranchName(branchType, reference, target string) string
- func ListBranches(newGit git.CompatibleConstructor, branchType string) (map[string][]string, error)
- func NewBranch(newGit git.CompatibleConstructor, branchType, target, name string) (string, error)
- func Picker(branchType string, newGit git.CompatibleConstructor, ui interfaces.UI) (string, error)
- func PrintList(newGit git.CompatibleConstructor, branchType string, short bool) error
Constants ¶
View Source
const ( // FeatureType is the branch prefix for features. FeatureType = "feature" // FixType is the branch prefix for bug fixes. FixType = "fix" )
Variables ¶
This section is empty.
Functions ¶
func CraftBranchName ¶
CraftBranchName returns the name of a branch using the params.
func ListBranches ¶
ListBranches returns a map containing all open bug fixes and a list of the target branches being develped for each.
func NewBranch ¶
func NewBranch(newGit git.CompatibleConstructor, branchType, target, name string) (string, error)
NewBranch creates a new branch from the given target.
func Picker ¶
func Picker(branchType string, newGit git.CompatibleConstructor, ui interfaces.UI) (string, error)
Picker presents a choice between branches of a type
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.