Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Branch ¶
type Branch struct { Name string // contains filtered or unexported fields }
Branch represents a git branch and its local folder
func NewBranch ¶
func NewBranch(name string, branchType BranchType) *Branch
NewBranch creates a new Branch instance
func (*Branch) FolderName ¶
FolderName returns the folder name for the branch
type BranchType ¶
type BranchType string
BranchType represents the type of branch (base or target)
const ( // Base represents the base branch for comparison Base BranchType = "base" // Target represents the target branch for comparison Target BranchType = "target" )
Click to show internal directories.
Click to hide internal directories.