Versions in this module Expand all Collapse all v1 v1.3.0 Apr 15, 2020 Changes in this version + var ErrRepoNotFound = errors.New("no repository found") + func FindRepo(path string) (bool, string, string, error) + type BuildRequest struct + func (br *BuildRequest) String() string + type Lookup struct + func NewLookup(scope string, fn LookupBuildFn) (*Lookup, error) + func (l *Lookup) Close() error + func (l *Lookup) GetDirtyOkay(ref *plumbing.Reference) chan interface{} + func (l *Lookup) IsStale(head *plumbing.Reference) bool + func (l *Lookup) Open() error + func (l *Lookup) RequestBuild(ref *plumbing.Reference) + func (l *Lookup) String() string + type LookupBuildFn func() (*plumbing.Reference, interface{}, error) + type Repo struct + Path string + func NewRepo(mainpath string, subpath string, gr *git.Repository, b *bus.Broker) (*Repo, error) + func (r *Repo) Close() error + func (r *Repo) HasHeadChanged() bool + func (r *Repo) HasUpstreamChanged() (bool, error) + func (r *Repo) IsStale() bool + func (r *Repo) ModifiedWithContext(ctx context.Context, path string) (time.Time, error) + func (r *Repo) Open() error + func (r *Repo) String() string + func (r *Repo) UpdateFromUpstream() error + func (r *Repo) Version() (*Version, error) + func (r *Repo) Versions() (*Versions, error) + type Version struct + Name string + Ref *plumbing.Reference + func AsLiveVersion(v *Version) *Version + func NewVersionFromRef(ref *plumbing.Reference) *Version + func (v *Version) String() string + type Versions struct + func (vs *Versions) Add(v *Version) + func (vs *Versions) Filter(fn func(*Version) bool) *Versions + func (vs *Versions) ForEach(fn func(*Version) error) error + func (vs *Versions) Len() int + func (vs *Versions) Less(i, j int) bool + func (vs *Versions) Names() []string + func (vs *Versions) Swap(i, j int) v1.3.0-alpha Nov 25, 2019