internal

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const REF_PREFIX = "refs/heads/"

Variables

This section is empty.

Functions

func CreatePr

func CreatePr() func(c *cli.Context) error

func GetAzureClient

func GetAzureClient() func(c *cli.Context) error

func ListPrs

func ListPrs() func(c *cli.Context) error

List prs for the repository

func NewPrWithDetail

func NewPrWithDetail(prs *[]git.GitPullRequest) *[]PrWithDetails

Types

type PrWithDetails

type PrWithDetails struct {
	Title        string
	Status       git.PullRequestStatus
	SourceBranch string
	TargetBranch string
	Author       string
	CreatedOn    azuredevops.Time
	IsDraft      bool
	Url          string
}

func (PrWithDetails) String

func (pr PrWithDetails) String() string

Jump to

Keyboard shortcuts

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