Documentation ¶
Index ¶
- type MockRepo
- func (mr *MockRepo) Empty() bool
- func (mr *MockRepo) MockBranches(ctx context.Context)
- func (mr *MockRepo) MockGetCommit(ctx context.Context, ref string)
- func (mr *MockRepo) MockLog(ctx context.Context, logExpr string, opts ...gitiles.LogOption)
- func (mr *MockRepo) MockReadFile(ctx context.Context, srcPath, ref string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepo ¶
type MockRepo struct { URLMock *mockhttpclient.URLMock // contains filtered or unexported fields }
func NewMockRepo ¶
func (*MockRepo) MockBranches ¶
Click to show internal directories.
Click to hide internal directories.