Versions in this module Expand all Collapse all v1 v1.26.29 Jul 31, 2026 v1.26.27 Jul 31, 2026 v1.26.26 Jul 27, 2026 v1.26.24 Jul 27, 2026 v1.26.23 Jul 27, 2026 v1.26.22 Jul 26, 2026 v1.26.18 Jul 26, 2026 v1.26.16 Jul 23, 2026 v1.26.15 Jul 18, 2026 v1.26.14 Jul 18, 2026 v1.26.13 Jul 18, 2026 v1.26.12 Jul 18, 2026 v1.26.11 Jul 18, 2026 v1.26.10 Jul 18, 2026 v1.26.9 Jul 18, 2026 v1.26.8 Jul 17, 2026 v1.26.7 Jul 17, 2026 v1.26.6 Jul 16, 2026 v1.26.5 Jul 16, 2026 Changes in this version + var RelationCommit = &Commit + type Commit struct + AvatarStackData *gituser.AvatarStackData + Column int + Commit *git.Commit + Date time.Time + Flow int64 + Refs []git.Reference + Rev string + Row int + ShortRev string + Status *git_model.CommitStatus + Subject string + User *user_model.User + Verification *asymkey_model.CommitVerification + func NewCommit(row, column int, line []byte) (*Commit, error) + func (c *Commit) OnlyRelation() bool + type Flow struct + ColorNumber int + Commits []*Commit + Glyphs []Glyph + ID int64 + MaxColumn int + MaxRow int + MinColumn int + MinRow int + func NewFlow(flowID int64, color, row, column int) *Flow + func (flow *Flow) AddGlyph(row, column int, glyph byte) + func (flow *Flow) Color16() int + type Glyph struct + Column int + Glyph byte + Row int + type Graph struct + Commits []*Commit + Flows map[int64]*Flow + MaxColumn int + MaxRow int + MinColumn int + MinRow int + func GetCommitGraph(r *git.Repository, page, maxAllowedColors int, hidePRRefs bool, ...) (*Graph, error) + func NewGraph() *Graph + func (graph *Graph) AddCommit(row, column int, flowID int64, data []byte) error + func (graph *Graph) AddGlyph(row, column int, flowID int64, color int, glyph byte) + func (graph *Graph) Height() int + func (graph *Graph) LoadAndProcessCommits(ctx context.Context, repository *repo_model.Repository, ...) error + func (graph *Graph) Width() int + type Parser struct + func (parser *Parser) AddLineToGraph(graph *Graph, row int, line []byte) error + func (parser *Parser) ParseGlyphs(glyphs []byte) + func (parser *Parser) Reset()