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
Click to show internal directories.
Click to hide internal directories.