gitgraph

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphItem

type GraphItem struct {
	GraphAcii    string
	Relation     string
	Branch       string
	Rev          string
	Date         string
	Author       string
	AuthorEmail  string
	ShortRev     string
	Subject      string
	OnlyRelation bool
}

GraphItem represent one commit, or one relation in timeline

type GraphItems

type GraphItems []GraphItem

GraphItems is a list of commits from all branches

func GetCommitGraph

func GetCommitGraph(r *git.Repository, page int) (GraphItems, error)

GetCommitGraph return a list of commit (GraphItems) from all branches

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL