merge

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	BaseURL, UploadURL string

	Force  bool
	Method string
}

func New

func New() *Action

func (*Action) AddFlags

func (c *Action) AddFlags(fs *flag.FlagSet)

func (*Action) MergeIfNecessary

func (c *Action) MergeIfNecessary(pre *Target) error

func (*Action) Run

func (c *Action) Run() error

type Target

type Target struct {
	Owner, Repo string
	PullRequest *github.PullRequest
}

Jump to

Keyboard shortcuts

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