Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { commitgraph.Node // Keys are stack names // Values are 0 for any commits without branches, // or 1+ for commmits with branches. // A score of N indicates this commit was reachable following parent edges // from a commit with score N+1 StackBranchScore map[string]int }
type NoTotalOrderError ¶
type NoTotalOrderError struct { StackName string // Each entry has length two IncomparableBranchPairs [][]string }
func (NoTotalOrderError) Error ¶
func (e NoTotalOrderError) Error() string
type Stack ¶
func ParseStacks ¶
ParseStacks parses commit stacks from the git commit log
func (Stack) DivergesFrom ¶
func (Stack) TotalOrderedBranches ¶
TotalOrderedBranches returns all branches associated with all commits in the stack. Guaranteed to return at least one branch. If invalid, returns NoTotalOrderError.
Click to show internal directories.
Click to hide internal directories.