slimrippy

package
v3.1.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Branch

type Branch = branches.Branch

type BranchLastCommit

type BranchLastCommit = branchmeta.Branch

func GetBranchesWithLastCommit

func GetBranchesWithLastCommit(ctx context.Context, repoDir string) ([]BranchLastCommit, error)

type Commit

type Commit = commits.Commit

type Opts

type Opts struct {
	Logger          hclog.Logger
	RepoDir         string
	State           State
	PullRequestSHAs []string

	CommitCallback func(commits.Commit) error
	BranchCallback func(branches.Branch) error
}

type State

type State struct {
	Commits commits.State
	Parents parentsgraph.State
}

func CommitsAndBranches

func CommitsAndBranches(ctx context.Context, opts Opts) (_ State, rerr error)

Jump to

Keyboard shortcuts

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