Versions in this module Expand all Collapse all v1 v1.25.0-dev Apr 28, 2025 v1.24.5 Aug 13, 2025 v1.24.4 Aug 4, 2025 v1.24.3 Jul 15, 2025 v1.24.2 Jun 20, 2025 v1.24.1 Jun 19, 2025 v1.24.0 Jun 10, 2025 Changes in this version + var RelationCommit = &Commit + type Commit struct + 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() v1.24.0-rc0 Apr 29, 2025