Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeRepository
- func (fake *FakeRepository) Branches() (storer.ReferenceIter, error)
- func (fake *FakeRepository) BranchesCallCount() int
- func (fake *FakeRepository) BranchesCalls(stub func() (storer.ReferenceIter, error))
- func (fake *FakeRepository) BranchesReturns(result1 storer.ReferenceIter, result2 error)
- func (fake *FakeRepository) BranchesReturnsOnCall(i int, result1 storer.ReferenceIter, result2 error)
- func (fake *FakeRepository) CommitObject(arg1 plumbing.Hash) (*object.Commit, error)
- func (fake *FakeRepository) CommitObjectArgsForCall(i int) plumbing.Hash
- func (fake *FakeRepository) CommitObjectCallCount() int
- func (fake *FakeRepository) CommitObjectCalls(stub func(plumbing.Hash) (*object.Commit, error))
- func (fake *FakeRepository) CommitObjectReturns(result1 *object.Commit, result2 error)
- func (fake *FakeRepository) CommitObjectReturnsOnCall(i int, result1 *object.Commit, result2 error)
- func (fake *FakeRepository) Head() (*plumbing.Reference, error)
- func (fake *FakeRepository) HeadCallCount() int
- func (fake *FakeRepository) HeadCalls(stub func() (*plumbing.Reference, error))
- func (fake *FakeRepository) HeadReturns(result1 *plumbing.Reference, result2 error)
- func (fake *FakeRepository) HeadReturnsOnCall(i int, result1 *plumbing.Reference, result2 error)
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
- func (fake *FakeRepository) Remote(arg1 string) (*gita.Remote, error)
- func (fake *FakeRepository) RemoteArgsForCall(i int) string
- func (fake *FakeRepository) RemoteCallCount() int
- func (fake *FakeRepository) RemoteCalls(stub func(string) (*gita.Remote, error))
- func (fake *FakeRepository) RemoteReturns(result1 *gita.Remote, result2 error)
- func (fake *FakeRepository) RemoteReturnsOnCall(i int, result1 *gita.Remote, result2 error)
- func (fake *FakeRepository) Remotes() ([]*gita.Remote, error)
- func (fake *FakeRepository) RemotesCallCount() int
- func (fake *FakeRepository) RemotesCalls(stub func() ([]*gita.Remote, error))
- func (fake *FakeRepository) RemotesReturns(result1 []*gita.Remote, result2 error)
- func (fake *FakeRepository) RemotesReturnsOnCall(i int, result1 []*gita.Remote, result2 error)
- func (fake *FakeRepository) ResolveRevision(arg1 plumbing.Revision) (*plumbing.Hash, error)
- func (fake *FakeRepository) ResolveRevisionArgsForCall(i int) plumbing.Revision
- func (fake *FakeRepository) ResolveRevisionCallCount() int
- func (fake *FakeRepository) ResolveRevisionCalls(stub func(plumbing.Revision) (*plumbing.Hash, error))
- func (fake *FakeRepository) ResolveRevisionReturns(result1 *plumbing.Hash, result2 error)
- func (fake *FakeRepository) ResolveRevisionReturnsOnCall(i int, result1 *plumbing.Hash, result2 error)
- func (fake *FakeRepository) Tags() (storer.ReferenceIter, error)
- func (fake *FakeRepository) TagsCallCount() int
- func (fake *FakeRepository) TagsCalls(stub func() (storer.ReferenceIter, error))
- func (fake *FakeRepository) TagsReturns(result1 storer.ReferenceIter, result2 error)
- func (fake *FakeRepository) TagsReturnsOnCall(i int, result1 storer.ReferenceIter, result2 error)
- type FakeWorktree
- func (fake *FakeWorktree) Add(arg1 string) (plumbing.Hash, error)
- func (fake *FakeWorktree) AddArgsForCall(i int) string
- func (fake *FakeWorktree) AddCallCount() int
- func (fake *FakeWorktree) AddCalls(stub func(string) (plumbing.Hash, error))
- func (fake *FakeWorktree) AddReturns(result1 plumbing.Hash, result2 error)
- func (fake *FakeWorktree) AddReturnsOnCall(i int, result1 plumbing.Hash, result2 error)
- func (fake *FakeWorktree) Checkout(arg1 *gita.CheckoutOptions) error
- func (fake *FakeWorktree) CheckoutArgsForCall(i int) *gita.CheckoutOptions
- func (fake *FakeWorktree) CheckoutCallCount() int
- func (fake *FakeWorktree) CheckoutCalls(stub func(*gita.CheckoutOptions) error)
- func (fake *FakeWorktree) CheckoutReturns(result1 error)
- func (fake *FakeWorktree) CheckoutReturnsOnCall(i int, result1 error)
- func (fake *FakeWorktree) Commit(arg1 string, arg2 *gita.CommitOptions) (plumbing.Hash, error)
- func (fake *FakeWorktree) CommitArgsForCall(i int) (string, *gita.CommitOptions)
- func (fake *FakeWorktree) CommitCallCount() int
- func (fake *FakeWorktree) CommitCalls(stub func(string, *gita.CommitOptions) (plumbing.Hash, error))
- func (fake *FakeWorktree) CommitReturns(result1 plumbing.Hash, result2 error)
- func (fake *FakeWorktree) CommitReturnsOnCall(i int, result1 plumbing.Hash, result2 error)
- func (fake *FakeWorktree) Invocations() map[string][][]interface{}
- func (fake *FakeWorktree) Status() (gita.Status, error)
- func (fake *FakeWorktree) StatusCallCount() int
- func (fake *FakeWorktree) StatusCalls(stub func() (gita.Status, error))
- func (fake *FakeWorktree) StatusReturns(result1 gita.Status, result2 error)
- func (fake *FakeWorktree) StatusReturnsOnCall(i int, result1 gita.Status, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRepository ¶
type FakeRepository struct { BranchesStub func() (storer.ReferenceIter, error) CommitObjectStub func(plumbing.Hash) (*object.Commit, error) HeadStub func() (*plumbing.Reference, error) RemoteStub func(string) (*gita.Remote, error) RemotesStub func() ([]*gita.Remote, error) ResolveRevisionStub func(plumbing.Revision) (*plumbing.Hash, error) TagsStub func() (storer.ReferenceIter, error) // contains filtered or unexported fields }
func (*FakeRepository) Branches ¶
func (fake *FakeRepository) Branches() (storer.ReferenceIter, error)
func (*FakeRepository) BranchesCallCount ¶
func (fake *FakeRepository) BranchesCallCount() int
func (*FakeRepository) BranchesCalls ¶
func (fake *FakeRepository) BranchesCalls(stub func() (storer.ReferenceIter, error))
func (*FakeRepository) BranchesReturns ¶
func (fake *FakeRepository) BranchesReturns(result1 storer.ReferenceIter, result2 error)
func (*FakeRepository) BranchesReturnsOnCall ¶
func (fake *FakeRepository) BranchesReturnsOnCall(i int, result1 storer.ReferenceIter, result2 error)
func (*FakeRepository) CommitObject ¶
func (*FakeRepository) CommitObjectArgsForCall ¶
func (fake *FakeRepository) CommitObjectArgsForCall(i int) plumbing.Hash
func (*FakeRepository) CommitObjectCallCount ¶
func (fake *FakeRepository) CommitObjectCallCount() int
func (*FakeRepository) CommitObjectCalls ¶
func (*FakeRepository) CommitObjectReturns ¶
func (fake *FakeRepository) CommitObjectReturns(result1 *object.Commit, result2 error)
func (*FakeRepository) CommitObjectReturnsOnCall ¶
func (fake *FakeRepository) CommitObjectReturnsOnCall(i int, result1 *object.Commit, result2 error)
func (*FakeRepository) HeadCallCount ¶
func (fake *FakeRepository) HeadCallCount() int
func (*FakeRepository) HeadCalls ¶
func (fake *FakeRepository) HeadCalls(stub func() (*plumbing.Reference, error))
func (*FakeRepository) HeadReturns ¶
func (fake *FakeRepository) HeadReturns(result1 *plumbing.Reference, result2 error)
func (*FakeRepository) HeadReturnsOnCall ¶
func (fake *FakeRepository) HeadReturnsOnCall(i int, result1 *plumbing.Reference, result2 error)
func (*FakeRepository) Invocations ¶
func (fake *FakeRepository) Invocations() map[string][][]interface{}
func (*FakeRepository) Remote ¶
func (fake *FakeRepository) Remote(arg1 string) (*gita.Remote, error)
func (*FakeRepository) RemoteArgsForCall ¶
func (fake *FakeRepository) RemoteArgsForCall(i int) string
func (*FakeRepository) RemoteCallCount ¶
func (fake *FakeRepository) RemoteCallCount() int
func (*FakeRepository) RemoteCalls ¶
func (fake *FakeRepository) RemoteCalls(stub func(string) (*gita.Remote, error))
func (*FakeRepository) RemoteReturns ¶
func (fake *FakeRepository) RemoteReturns(result1 *gita.Remote, result2 error)
func (*FakeRepository) RemoteReturnsOnCall ¶
func (fake *FakeRepository) RemoteReturnsOnCall(i int, result1 *gita.Remote, result2 error)
func (*FakeRepository) Remotes ¶ added in v0.2.5
func (fake *FakeRepository) Remotes() ([]*gita.Remote, error)
func (*FakeRepository) RemotesCallCount ¶ added in v0.2.5
func (fake *FakeRepository) RemotesCallCount() int
func (*FakeRepository) RemotesCalls ¶ added in v0.2.5
func (fake *FakeRepository) RemotesCalls(stub func() ([]*gita.Remote, error))
func (*FakeRepository) RemotesReturns ¶ added in v0.2.5
func (fake *FakeRepository) RemotesReturns(result1 []*gita.Remote, result2 error)
func (*FakeRepository) RemotesReturnsOnCall ¶ added in v0.2.5
func (fake *FakeRepository) RemotesReturnsOnCall(i int, result1 []*gita.Remote, result2 error)
func (*FakeRepository) ResolveRevision ¶
func (*FakeRepository) ResolveRevisionArgsForCall ¶
func (fake *FakeRepository) ResolveRevisionArgsForCall(i int) plumbing.Revision
func (*FakeRepository) ResolveRevisionCallCount ¶
func (fake *FakeRepository) ResolveRevisionCallCount() int
func (*FakeRepository) ResolveRevisionCalls ¶
func (*FakeRepository) ResolveRevisionReturns ¶
func (fake *FakeRepository) ResolveRevisionReturns(result1 *plumbing.Hash, result2 error)
func (*FakeRepository) ResolveRevisionReturnsOnCall ¶
func (fake *FakeRepository) ResolveRevisionReturnsOnCall(i int, result1 *plumbing.Hash, result2 error)
func (*FakeRepository) Tags ¶
func (fake *FakeRepository) Tags() (storer.ReferenceIter, error)
func (*FakeRepository) TagsCallCount ¶
func (fake *FakeRepository) TagsCallCount() int
func (*FakeRepository) TagsCalls ¶
func (fake *FakeRepository) TagsCalls(stub func() (storer.ReferenceIter, error))
func (*FakeRepository) TagsReturns ¶
func (fake *FakeRepository) TagsReturns(result1 storer.ReferenceIter, result2 error)
func (*FakeRepository) TagsReturnsOnCall ¶
func (fake *FakeRepository) TagsReturnsOnCall(i int, result1 storer.ReferenceIter, result2 error)
type FakeWorktree ¶
type FakeWorktree struct { AddStub func(string) (plumbing.Hash, error) CheckoutStub func(*gita.CheckoutOptions) error CommitStub func(string, *gita.CommitOptions) (plumbing.Hash, error) StatusStub func() (gita.Status, error) // contains filtered or unexported fields }
func (*FakeWorktree) AddArgsForCall ¶
func (fake *FakeWorktree) AddArgsForCall(i int) string
func (*FakeWorktree) AddCallCount ¶
func (fake *FakeWorktree) AddCallCount() int
func (*FakeWorktree) AddCalls ¶
func (fake *FakeWorktree) AddCalls(stub func(string) (plumbing.Hash, error))
func (*FakeWorktree) AddReturns ¶
func (fake *FakeWorktree) AddReturns(result1 plumbing.Hash, result2 error)
func (*FakeWorktree) AddReturnsOnCall ¶
func (fake *FakeWorktree) AddReturnsOnCall(i int, result1 plumbing.Hash, result2 error)
func (*FakeWorktree) Checkout ¶
func (fake *FakeWorktree) Checkout(arg1 *gita.CheckoutOptions) error
func (*FakeWorktree) CheckoutArgsForCall ¶
func (fake *FakeWorktree) CheckoutArgsForCall(i int) *gita.CheckoutOptions
func (*FakeWorktree) CheckoutCallCount ¶
func (fake *FakeWorktree) CheckoutCallCount() int
func (*FakeWorktree) CheckoutCalls ¶
func (fake *FakeWorktree) CheckoutCalls(stub func(*gita.CheckoutOptions) error)
func (*FakeWorktree) CheckoutReturns ¶
func (fake *FakeWorktree) CheckoutReturns(result1 error)
func (*FakeWorktree) CheckoutReturnsOnCall ¶
func (fake *FakeWorktree) CheckoutReturnsOnCall(i int, result1 error)
func (*FakeWorktree) Commit ¶
func (fake *FakeWorktree) Commit(arg1 string, arg2 *gita.CommitOptions) (plumbing.Hash, error)
func (*FakeWorktree) CommitArgsForCall ¶
func (fake *FakeWorktree) CommitArgsForCall(i int) (string, *gita.CommitOptions)
func (*FakeWorktree) CommitCallCount ¶
func (fake *FakeWorktree) CommitCallCount() int
func (*FakeWorktree) CommitCalls ¶
func (fake *FakeWorktree) CommitCalls(stub func(string, *gita.CommitOptions) (plumbing.Hash, error))
func (*FakeWorktree) CommitReturns ¶
func (fake *FakeWorktree) CommitReturns(result1 plumbing.Hash, result2 error)
func (*FakeWorktree) CommitReturnsOnCall ¶
func (fake *FakeWorktree) CommitReturnsOnCall(i int, result1 plumbing.Hash, result2 error)
func (*FakeWorktree) Invocations ¶
func (fake *FakeWorktree) Invocations() map[string][][]interface{}
func (*FakeWorktree) Status ¶ added in v0.3.2
func (fake *FakeWorktree) Status() (gita.Status, error)
func (*FakeWorktree) StatusCallCount ¶ added in v0.3.2
func (fake *FakeWorktree) StatusCallCount() int
func (*FakeWorktree) StatusCalls ¶ added in v0.3.2
func (fake *FakeWorktree) StatusCalls(stub func() (gita.Status, error))
func (*FakeWorktree) StatusReturns ¶ added in v0.3.2
func (fake *FakeWorktree) StatusReturns(result1 gita.Status, result2 error)
func (*FakeWorktree) StatusReturnsOnCall ¶ added in v0.3.2
func (fake *FakeWorktree) StatusReturnsOnCall(i int, result1 gita.Status, result2 error)
Click to show internal directories.
Click to hide internal directories.