Documentation
¶
Index ¶
- Constants
- Variables
- func GetPipeSets(commits []*models.Commit, getStyle func(c *models.Commit) *style.TextStyle) [][]Pipe
- func RenderAux(pipeSets [][]Pipe, commits []*models.Commit, selectedCommitHashPtr *string, ...) []string
- func RenderCommitGraph(commits []*models.Commit, selectedCommitHashPtr *string, ...) []string
- func TerminalDrawsBranchDrawingSymbols(name, version string) bool
- type Cell
- type Pipe
- type PipeKind
- type SymbolSet
Constants ¶
View Source
const ( MergeSymbol = '◎' CommitSymbol = '○' )
View Source
const ( CONNECTION cellType = iota COMMIT MERGE )
Variables ¶
View Source
var ( EmptyTreeCommitHash = models.EmptyTreeCommitHash StartCommitHash = "START" )
Functions ¶
func GetPipeSets ¶
func RenderCommitGraph ¶
func TerminalDrawsBranchDrawingSymbols ¶ added in v0.66.0
TerminalDrawsBranchDrawingSymbols says whether a terminal is known to draw the branch drawing symbols itself, given the name and version it reports
Types ¶
Click to show internal directories.
Click to hide internal directories.