vcs

package
v0.0.0-...-e30d026 Latest Latest
Warning

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

Go to latest
Published: May 6, 2015 License: BSD-3-Clause, BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageRepo

type PackageRepo struct {
	// contains filtered or unexported fields
}

func PackageForImportPath

func PackageForImportPath(importPath string) (*PackageRepo, error)

func (*PackageRepo) CurrentTagOrRevision

func (p *PackageRepo) CurrentTagOrRevision() (string, error)

func (*PackageRepo) Dir

func (p *PackageRepo) Dir() string

func (*PackageRepo) IsCurrentTagOrRevision

func (p *PackageRepo) IsCurrentTagOrRevision(version string) bool

IsCurrentTagOrRevision checks if the given version matches the current tag or revision

func (*PackageRepo) RootImportPath

func (p *PackageRepo) RootImportPath() string

func (*PackageRepo) SetRevision

func (p *PackageRepo) SetRevision(version string) error

Jump to

Keyboard shortcuts

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