gnome

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CacheAPI is the string format for GNOME cache.json files
	CacheAPI = "https://download.gnome.org/sources/%s/cache.json"
	// SourceFormat is the string format for Gnome sources
	SourceFormat = "https://download.gnome.org/sources/%s/%s"
)

Variables

View Source
var TarballRegex = regexp.MustCompile("https?://(?:ftp.gnome.org/pub/gnome|download.gnome.org)/sources/(.*?)/.*")

TarballRegex matches GNOME sources

Functions

func Merge

func Merge(name string, srcs, vs map[string]interface{}) (rs *results.ResultSet)

Merge combines Source and Versions into a ResultSet

Types

type Provider

type Provider struct{}

Provider is the upstream provider interface for GNOME

func (Provider) Latest

func (c Provider) Latest(name string) (r *results.Result, s results.Status)

Latest finds the newest release for a rubygems package

func (Provider) Match

func (c Provider) Match(query string) string

Match checks to see if this provider can handle this kind of query

func (Provider) Name

func (c Provider) Name() string

Name gives the name of this provider

func (Provider) Releases

func (c Provider) Releases(name string) (rs *results.ResultSet, s results.Status)

Releases finds all matching releases for a rubygems package

Jump to

Keyboard shortcuts

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