Documentation ¶
Index ¶
- type VCS
- func (_m *VCS) ByIndex(ctx context.Context, N int) (*vcsinfo.LongCommit, error)
- func (_m *VCS) Details(ctx context.Context, hash string, includeBranchInfo bool) (*vcsinfo.LongCommit, error)
- func (_m *VCS) DetailsMulti(ctx context.Context, hashes []string, includeBranchInfo bool) ([]*vcsinfo.LongCommit, error)
- func (_m *VCS) From(start time.Time) []string
- func (_m *VCS) IndexOf(ctx context.Context, hash string) (int, error)
- func (_m *VCS) LastNIndex(N int) []*vcsinfo.IndexCommit
- func (_m *VCS) Range(begin time.Time, end time.Time) []*vcsinfo.IndexCommit
- func (_m *VCS) Update(ctx context.Context, pull bool, allBranches bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VCS ¶
VCS is an autogenerated mock type for the VCS type
func NewVCS ¶
NewVCS creates a new instance of VCS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VCS) Details ¶
func (_m *VCS) Details(ctx context.Context, hash string, includeBranchInfo bool) (*vcsinfo.LongCommit, error)
Details provides a mock function with given fields: ctx, hash, includeBranchInfo
func (*VCS) DetailsMulti ¶
func (_m *VCS) DetailsMulti(ctx context.Context, hashes []string, includeBranchInfo bool) ([]*vcsinfo.LongCommit, error)
DetailsMulti provides a mock function with given fields: ctx, hashes, includeBranchInfo
func (*VCS) LastNIndex ¶
func (_m *VCS) LastNIndex(N int) []*vcsinfo.IndexCommit
LastNIndex provides a mock function with given fields: N
Click to show internal directories.
Click to hide internal directories.