Documentation
¶
Index ¶
- func DeleteBranch(branchName string) error
- func ForceDeleteBranch(branchName string) error
- func GetBranches() ([]string, string, error)
- func IsAlreadyOnBranch(output []byte, branchName string) bool
- func SwitchBranch(branchName string) error
- func TryDirectSwitch(branches []string, branchName string, currentBranch string) bool
- type UnmergedBranchError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteBranch ¶ added in v0.1.5
func ForceDeleteBranch ¶ added in v0.1.5
func GetBranches ¶
func IsAlreadyOnBranch ¶
func SwitchBranch ¶
Types ¶
type UnmergedBranchError ¶ added in v0.1.5
func (*UnmergedBranchError) Error ¶ added in v0.1.5
func (e *UnmergedBranchError) Error() string
Click to show internal directories.
Click to hide internal directories.