Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderTree ¶ added in v0.0.35
func RenderTree(node *StackTreeNode, branchDataFn func(branchName string, isTrunk bool) string) string
Types ¶
type StackTreeBranchInfo ¶
type StackTreeBranchInfo struct {
BranchName string
// contains filtered or unexported fields
}
type StackTreeNode ¶
type StackTreeNode struct {
Branch *StackTreeBranchInfo
Children []*StackTreeNode
}
func BuildStackTree ¶
func BuildStackTree(tx meta.ReadTx, currentBranch string) []*StackTreeNode
func BuildStackTreeForPullRequest ¶
func BuildStackTreeForPullRequest(tx meta.ReadTx, currentBranch string) (*StackTreeNode, error)
Click to show internal directories.
Click to hide internal directories.