releases

package
v2.1.62 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRelease

func GetRelease(version string, owner string, repo string, provider gits.GitProvider) (*gits.GitRelease, error)

GetRelease will find the GitRelease for the given owner/repo, looking for a tag called <version> or v<version>

func ReleaseDownloadCount

func ReleaseDownloadCount(releases []*gits.GitRelease) int

ReleaseDownloadCount returns the total number of downloads for the given set of releases

func ReleaseNotFoundError

func ReleaseNotFoundError(err error) bool

ReleaseNotFoundError determines if the reason for the error is that the release is not found

Types

This section is empty.

Jump to

Keyboard shortcuts

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