commit

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit interface {
	GetRepo() string
	GetOwner() string
	GetRepoName() string
	GetHash() string
	IsPR() bool
	GetPRNumber() int
	GetPRID() string
	GetBaseRefName() string
	Error() error
}

type Source

type Source struct {
	// contains filtered or unexported fields
}

func NewSource

func NewSource(client *githubv4.Client) *Source

func (*Source) GetCommit

func (c *Source) GetCommit(hash string) Commit

func (*Source) GetCommitFromRepo

func (c *Source) GetCommitFromRepo(repo, hash string) Commit

func (*Source) GetCurrentCommit

func (c *Source) GetCurrentCommit() Commit

Jump to

Keyboard shortcuts

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