gitmock

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoGitRepoClient

type GoGitRepoClient struct {
	mock.Mock
}

GoGitRepoClient is an autogenerated mock type for the GoGitRepoClient type

func (*GoGitRepoClient) Checkout

func (_m *GoGitRepoClient) Checkout(opts *git.CheckoutOptions) error

Checkout provides a mock function with given fields: opts

func (*GoGitRepoClient) CommitObject

func (_m *GoGitRepoClient) CommitObject(h plumbing.Hash) (*object.Commit, error)

CommitObject provides a mock function with given fields: h

func (*GoGitRepoClient) FileSystem

func (_m *GoGitRepoClient) FileSystem() (billy.Filesystem, error)

FileSystem provides a mock function with given fields:

func (*GoGitRepoClient) Head

func (_m *GoGitRepoClient) Head() (*plumbing.Reference, error)

Head provides a mock function with given fields:

func (*GoGitRepoClient) MergeBase

func (_m *GoGitRepoClient) MergeBase(current *object.Commit, other *object.Commit) ([]*object.Commit, error)

MergeBase provides a mock function with given fields: current, other

func (*GoGitRepoClient) Patch

func (_m *GoGitRepoClient) Patch(current *object.Commit, other *object.Commit) (*object.Patch, error)

Patch provides a mock function with given fields: current, other

func (*GoGitRepoClient) ResolveRevision

func (_m *GoGitRepoClient) ResolveRevision(rev plumbing.Revision) (*plumbing.Hash, error)

ResolveRevision provides a mock function with given fields: rev

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL