gh

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *github.Client
View Source
var GHex *exit.Exit

Functions

func DisplayRateLimit

func DisplayRateLimit()

Types

type Commit

type Commit struct {
	*github.Commit
	// contains filtered or unexported fields
}

func FirstSingleParentCommit

func FirstSingleParentCommit(parent *Commit) *Commit

func MustGetCommit

func MustGetCommit(sha1 string) *Commit

func NewCommit

func NewCommit(ghc *github.Commit) *Commit

func (*Commit) AuthorDate

func (c *Commit) AuthorDate() string

func (*Commit) AuthorName

func (c *Commit) AuthorName() string

func (*Commit) CommitterDate

func (c *Commit) CommitterDate() string

func (*Commit) FirstParent

func (c *Commit) FirstParent() *Commit

func (*Commit) MessageC

func (c *Commit) MessageC() string

func (*Commit) NbParents

func (c *Commit) NbParents() int

func (*Commit) SameAuthor

func (c *Commit) SameAuthor(c2 *Commit) bool

func (*Commit) SameSHA1

func (c *Commit) SameSHA1(c2 *Commit) bool

func (*Commit) SecondParent

func (c *Commit) SecondParent() *Commit

func (*Commit) String

func (c *Commit) String() string

Jump to

Keyboard shortcuts

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