vcs

package
v0.0.0-...-403b093 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoService      = errors.New("no service")
	ErrInvalidSHA     = errors.New("invalid sha")
	ErrInvalidPath    = errors.New("invalid path")
	ErrInvalidRepo    = errors.New("invalid repo")
	ErrInvalidPackage = errors.New("invalid package")
)

Functions

func Archive

func Archive(repo, sha string) (url string, err error)

func Parse

func Parse(path string) (pkg, ver string, err error)

func Proxy

func Proxy(name, repo, base string)

func Repository

func Repository(pkg string) (repo, base string, err error)

func Revision

func Revision(repo, ver string) (sha string, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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