commits

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Filename = "pullreqs_commits.json"

Variables

This section is empty.

Functions

func Fetch

func Fetch(c *cli.Context) error

func GetLastNumber

func GetLastNumber(path string) (int64, int, error)

func List

func List(c *cli.Context) error

func Serialize

func Serialize(path string, list []CommitWithPRID) error

Types

type CommitWithPRID

type CommitWithPRID struct {
	PullReqID     int64 `json:"pullreq_id,omitempty"`
	PullReqNumber int   `json:"pullreq_number,omitempty"`
	github.RepositoryCommit
}

func Deserialize

func Deserialize(path string) ([]CommitWithPRID, error)

func (CommitWithPRID) CSV

func (c CommitWithPRID) CSV() string

Jump to

Keyboard shortcuts

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