Documentation ¶
Index ¶
- type BigTableVCS
- func (b *BigTableVCS) ByIndex(ctx context.Context, idx int) (*vcsinfo.LongCommit, error)
- func (b *BigTableVCS) Details(ctx context.Context, hash string, _ bool) (*vcsinfo.LongCommit, error)
- func (b *BigTableVCS) DetailsMulti(ctx context.Context, hashes []string, _ bool) ([]*vcsinfo.LongCommit, error)
- func (b *BigTableVCS) From(start time.Time) []string
- func (b *BigTableVCS) GetBranch() string
- func (b *BigTableVCS) IndexOf(ctx context.Context, hash string) (int, error)
- func (b *BigTableVCS) LastNIndex(N int) []*vcsinfo.IndexCommit
- func (b *BigTableVCS) Range(begin, end time.Time) []*vcsinfo.IndexCommit
- func (b *BigTableVCS) Update(ctx context.Context, _, _ bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigTableVCS ¶
type BigTableVCS struct {
// contains filtered or unexported fields
}
BigTableVCS implements the vcsinfo.VCS interface based on a BT-backed GitStore.
func New ¶
New returns an instance of vcsinfo.VCS that is backed by the given GitStore and uses the gittiles.Repo to retrieve files. Each instance provides an interface to one branch. The instance of gitiles.Repo is only used to fetch files.
func (*BigTableVCS) ByIndex ¶
func (b *BigTableVCS) ByIndex(ctx context.Context, idx int) (*vcsinfo.LongCommit, error)
ByIndex implements the vcsinfo.VCS interface
func (*BigTableVCS) Details ¶
func (b *BigTableVCS) Details(ctx context.Context, hash string, _ bool) (*vcsinfo.LongCommit, error)
Details implements the vcsinfo.VCS interface
func (*BigTableVCS) DetailsMulti ¶
func (b *BigTableVCS) DetailsMulti(ctx context.Context, hashes []string, _ bool) ([]*vcsinfo.LongCommit, error)
DetailsMulti implements the vcsinfo.VCS interface
func (*BigTableVCS) From ¶
func (b *BigTableVCS) From(start time.Time) []string
From implements the vcsinfo.VCS interface
func (*BigTableVCS) GetBranch ¶
func (b *BigTableVCS) GetBranch() string
GetBranch implements the vcsinfo.VCS interface.
func (*BigTableVCS) LastNIndex ¶
func (b *BigTableVCS) LastNIndex(N int) []*vcsinfo.IndexCommit
LastNIndex implements the vcsinfo.VCS interface
func (*BigTableVCS) Range ¶
func (b *BigTableVCS) Range(begin, end time.Time) []*vcsinfo.IndexCommit
Range implements the vcsinfo.VCS interface