Documentation ¶
Index ¶
- type Client
- func (_m *Client) ChangedFiles(revision string, targetRevision string) ([]string, error)
- func (_m *Client) Checkout(revision string, submoduleEnabled bool) error
- func (_m *Client) CommitSHA() (string, error)
- func (_m *Client) Fetch(revision string) error
- func (_m *Client) Init() error
- func (_m *Client) IsAnnotatedTag(_a0 string) bool
- func (_m *Client) LsFiles(path string, enableNewGitFileGlobbing bool) ([]string, error)
- func (_m *Client) LsLargeFiles() ([]string, error)
- func (_m *Client) LsRefs() (*git.Refs, error)
- func (_m *Client) LsRemote(revision string) (string, error)
- func (_m *Client) RevisionMetadata(revision string) (*git.RevisionMetadata, error)
- func (_m *Client) Root() string
- func (_m *Client) Submodule() error
- func (_m *Client) VerifyCommitSignature(_a0 string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶ added in v2.6.12
NewClient creates a new instance of Client. 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 (*Client) ChangedFiles ¶ added in v2.11.0
ChangedFiles provides a mock function with given fields: revision, targetRevision
func (*Client) Checkout ¶
Checkout provides a mock function with given fields: revision, submoduleEnabled
func (*Client) IsAnnotatedTag ¶ added in v2.6.12
IsAnnotatedTag provides a mock function with given fields: _a0
func (*Client) LsFiles ¶
LsFiles provides a mock function with given fields: path, enableNewGitFileGlobbing
func (*Client) LsLargeFiles ¶
LsLargeFiles provides a mock function with given fields:
func (*Client) RevisionMetadata ¶
func (_m *Client) RevisionMetadata(revision string) (*git.RevisionMetadata, error)
RevisionMetadata provides a mock function with given fields: revision