Documentation ¶
Overview ¶
Package git is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUtilInterface ¶
type MockUtilInterface struct {
// contains filtered or unexported fields
}
MockUtilInterface is a mock of UtilInterface interface
func NewMockUtilInterface ¶
func NewMockUtilInterface(ctrl *gomock.Controller) *MockUtilInterface
NewMockUtilInterface creates a new mock instance
func (*MockUtilInterface) EXPECT ¶
func (m *MockUtilInterface) EXPECT() *MockUtilInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUtilInterface) HeadCommitLogForPaths ¶
func (m *MockUtilInterface) HeadCommitLogForPaths(args ...string) (string, error)
HeadCommitLogForPaths mocks base method
func (*MockUtilInterface) HeadHashForPaths ¶
func (m *MockUtilInterface) HeadHashForPaths(args ...string) (string, error)
HeadHashForPaths mocks base method
type MockUtilInterfaceMockRecorder ¶
type MockUtilInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockUtilInterfaceMockRecorder is the mock recorder for MockUtilInterface
func (*MockUtilInterfaceMockRecorder) HeadCommitLogForPaths ¶
func (mr *MockUtilInterfaceMockRecorder) HeadCommitLogForPaths(args ...interface{}) *gomock.Call
HeadCommitLogForPaths indicates an expected call of HeadCommitLogForPaths
func (*MockUtilInterfaceMockRecorder) HeadHashForPaths ¶
func (mr *MockUtilInterfaceMockRecorder) HeadHashForPaths(args ...interface{}) *gomock.Call
HeadHashForPaths indicates an expected call of HeadHashForPaths
type Util ¶
type Util struct {
RepoPath string
}
Util allows for fetching information about a Git repository using Git CLI commands.
func (*Util) HeadCommitLogForPaths ¶
HeadCommitLog returns the log of the current HEAD commit, including a list of the files that were modified for the filtered directories