Documentation ¶
Index ¶
- type RepoClient
- func (_m *RepoClient) Clone(ctx context.Context, path string, isBare bool, o *git.CloneOptions) (*git.Repository, error)
- func (_m *RepoClient) DefaultBranch() (*plumbing.Reference, error)
- func (_m *RepoClient) Fetch(o *git.FetchOptions) error
- func (_m *RepoClient) PlainCheckout(o *git.CheckoutOptions) error
- func (_m *RepoClient) ResolveRevisionOrBranchHead(rev plumbing.Revision) (*plumbing.Hash, error)
- func (_m *RepoClient) Worktree() (*git.Worktree, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoClient ¶
RepoClient is an autogenerated mock type for the RepoClient type
func (*RepoClient) Clone ¶
func (_m *RepoClient) Clone(ctx context.Context, path string, isBare bool, o *git.CloneOptions) (*git.Repository, error)
Clone provides a mock function with given fields: ctx, path, isBare, o
func (*RepoClient) DefaultBranch ¶
func (_m *RepoClient) DefaultBranch() (*plumbing.Reference, error)
DefaultBranch provides a mock function with given fields:
func (*RepoClient) Fetch ¶
func (_m *RepoClient) Fetch(o *git.FetchOptions) error
Fetch provides a mock function with given fields: o
func (*RepoClient) PlainCheckout ¶
func (_m *RepoClient) PlainCheckout(o *git.CheckoutOptions) error
PlainCheckout provides a mock function with given fields: o
func (*RepoClient) ResolveRevisionOrBranchHead ¶
ResolveRevisionOrBranchHead provides a mock function with given fields: rev
Click to show internal directories.
Click to hide internal directories.