Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RefType

type RefType int
const (
	DefaultBranchRef RefType = iota
	ReleaseBranchRef
	ReleaseRef
)

func (RefType) String

func (rt RefType) String() string

type Repo

type Repo struct {
	Ref           string
	DefaultBranch string
	Tags          []string
	Branches      []string
}

func GetRepo

func GetRepo(ref, url string) (*Repo, error)

func (*Repo) BestRefFor

func (r *Repo) BestRefFor(this semver.Version) (string, RefType)

BestRefFor Returns module@ref, isRelease

Source Files