Documentation ¶
Index ¶
- type Repository
- func (_m *Repository) BlobObject(_a0 plumbing.Hash) (*object.Blob, error)
- func (_m *Repository) BlobObjects() (*object.BlobIter, error)
- func (_m *Repository) Branch(_a0 string) (*config.Branch, error)
- func (_m *Repository) Branches() (storer.ReferenceIter, error)
- func (_m *Repository) CommitObject(_a0 plumbing.Hash) (*object.Commit, error)
- func (_m *Repository) CommitObjects() (object.CommitIter, error)
- func (_m *Repository) Config() (*config.Config, error)
- func (_m *Repository) ConfigScoped(_a0 config.Scope) (*config.Config, error)
- func (_m *Repository) CreateBranch(_a0 *config.Branch) error
- func (_m *Repository) CreateRemote(_a0 *config.RemoteConfig) (*git.Remote, error)
- func (_m *Repository) CreateRemoteAnonymous(_a0 *config.RemoteConfig) (*git.Remote, error)
- func (_m *Repository) CreateTag(_a0 string, _a1 plumbing.Hash, _a2 *git.CreateTagOptions) (*plumbing.Reference, error)
- func (_m *Repository) DeleteBranch(_a0 string) error
- func (_m *Repository) DeleteObject(_a0 plumbing.Hash) error
- func (_m *Repository) DeleteRemote(_a0 string) error
- func (_m *Repository) DeleteTag(_a0 string) error
- func (_m *Repository) Fetch(_a0 *git.FetchOptions) error
- func (_m *Repository) FetchContext(_a0 context.Context, _a1 *git.FetchOptions) error
- func (_m *Repository) Head() (*plumbing.Reference, error)
- func (_m *Repository) Log(_a0 *git.LogOptions) (object.CommitIter, error)
- func (_m *Repository) Notes() (storer.ReferenceIter, error)
- func (_m *Repository) Object(_a0 plumbing.ObjectType, _a1 plumbing.Hash) (object.Object, error)
- func (_m *Repository) Objects() (*object.ObjectIter, error)
- func (_m *Repository) Prune(_a0 git.PruneOptions) error
- func (_m *Repository) Push(_a0 *git.PushOptions) error
- func (_m *Repository) PushContext(_a0 context.Context, _a1 *git.PushOptions) error
- func (_m *Repository) Reference(_a0 plumbing.ReferenceName, _a1 bool) (*plumbing.Reference, error)
- func (_m *Repository) References() (storer.ReferenceIter, error)
- func (_m *Repository) Remote(_a0 string) (*git.Remote, error)
- func (_m *Repository) Remotes() ([]*git.Remote, error)
- func (_m *Repository) RepackObjects(_a0 *git.RepackConfig) error
- func (_m *Repository) ResolveRevision(_a0 plumbing.Revision) (*plumbing.Hash, error)
- func (_m *Repository) SetConfig(_a0 *config.Config) error
- func (_m *Repository) Tag(_a0 string) (*plumbing.Reference, error)
- func (_m *Repository) TagObject(_a0 plumbing.Hash) (*object.Tag, error)
- func (_m *Repository) TagObjects() (*object.TagIter, error)
- func (_m *Repository) Tags() (storer.ReferenceIter, error)
- func (_m *Repository) TreeObject(_a0 plumbing.Hash) (*object.Tree, error)
- func (_m *Repository) TreeObjects() (*object.TreeIter, error)
- func (_m *Repository) Worktree() (*git.Worktree, error)
- type Worktree
- func (_m *Worktree) Add(_a0 string) (plumbing.Hash, error)
- func (_m *Worktree) AddGlob(_a0 string) error
- func (_m *Worktree) AddWithOptions(_a0 *git.AddOptions) error
- func (_m *Worktree) Checkout(_a0 *git.CheckoutOptions) error
- func (_m *Worktree) Clean(_a0 *git.CleanOptions) error
- func (_m *Worktree) Commit(_a0 string, _a1 *git.CommitOptions) (plumbing.Hash, error)
- func (_m *Worktree) Grep(_a0 *git.GrepOptions) ([]git.GrepResult, error)
- func (_m *Worktree) Move(_a0 string, _a1 string) (plumbing.Hash, error)
- func (_m *Worktree) Pull(_a0 *git.PullOptions) error
- func (_m *Worktree) PullContext(_a0 context.Context, _a1 *git.PullOptions) error
- func (_m *Worktree) Remove(_a0 string) (plumbing.Hash, error)
- func (_m *Worktree) RemoveGlob(_a0 string) error
- func (_m *Worktree) Reset(_a0 *git.ResetOptions) error
- func (_m *Worktree) Status() (git.Status, error)
- func (_m *Worktree) Submodule(_a0 string) (*git.Submodule, error)
- func (_m *Worktree) Submodules() (git.Submodules, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) BlobObject ¶
BlobObject provides a mock function with given fields: _a0
func (*Repository) BlobObjects ¶
func (_m *Repository) BlobObjects() (*object.BlobIter, error)
BlobObjects provides a mock function with given fields:
func (*Repository) Branch ¶
func (_m *Repository) Branch(_a0 string) (*config.Branch, error)
Branch provides a mock function with given fields: _a0
func (*Repository) Branches ¶
func (_m *Repository) Branches() (storer.ReferenceIter, error)
Branches provides a mock function with given fields:
func (*Repository) CommitObject ¶
CommitObject provides a mock function with given fields: _a0
func (*Repository) CommitObjects ¶
func (_m *Repository) CommitObjects() (object.CommitIter, error)
CommitObjects provides a mock function with given fields:
func (*Repository) Config ¶
func (_m *Repository) Config() (*config.Config, error)
Config provides a mock function with given fields:
func (*Repository) ConfigScoped ¶
ConfigScoped provides a mock function with given fields: _a0
func (*Repository) CreateBranch ¶
func (_m *Repository) CreateBranch(_a0 *config.Branch) error
CreateBranch provides a mock function with given fields: _a0
func (*Repository) CreateRemote ¶
func (_m *Repository) CreateRemote(_a0 *config.RemoteConfig) (*git.Remote, error)
CreateRemote provides a mock function with given fields: _a0
func (*Repository) CreateRemoteAnonymous ¶
func (_m *Repository) CreateRemoteAnonymous(_a0 *config.RemoteConfig) (*git.Remote, error)
CreateRemoteAnonymous provides a mock function with given fields: _a0
func (*Repository) CreateTag ¶
func (_m *Repository) CreateTag(_a0 string, _a1 plumbing.Hash, _a2 *git.CreateTagOptions) (*plumbing.Reference, error)
CreateTag provides a mock function with given fields: _a0, _a1, _a2
func (*Repository) DeleteBranch ¶
func (_m *Repository) DeleteBranch(_a0 string) error
DeleteBranch provides a mock function with given fields: _a0
func (*Repository) DeleteObject ¶
func (_m *Repository) DeleteObject(_a0 plumbing.Hash) error
DeleteObject provides a mock function with given fields: _a0
func (*Repository) DeleteRemote ¶
func (_m *Repository) DeleteRemote(_a0 string) error
DeleteRemote provides a mock function with given fields: _a0
func (*Repository) DeleteTag ¶
func (_m *Repository) DeleteTag(_a0 string) error
DeleteTag provides a mock function with given fields: _a0
func (*Repository) Fetch ¶
func (_m *Repository) Fetch(_a0 *git.FetchOptions) error
Fetch provides a mock function with given fields: _a0
func (*Repository) FetchContext ¶
func (_m *Repository) FetchContext(_a0 context.Context, _a1 *git.FetchOptions) error
FetchContext provides a mock function with given fields: _a0, _a1
func (*Repository) Head ¶
func (_m *Repository) Head() (*plumbing.Reference, error)
Head provides a mock function with given fields:
func (*Repository) Log ¶
func (_m *Repository) Log(_a0 *git.LogOptions) (object.CommitIter, error)
Log provides a mock function with given fields: _a0
func (*Repository) Notes ¶
func (_m *Repository) Notes() (storer.ReferenceIter, error)
Notes provides a mock function with given fields:
func (*Repository) Object ¶
func (_m *Repository) Object(_a0 plumbing.ObjectType, _a1 plumbing.Hash) (object.Object, error)
Object provides a mock function with given fields: _a0, _a1
func (*Repository) Objects ¶
func (_m *Repository) Objects() (*object.ObjectIter, error)
Objects provides a mock function with given fields:
func (*Repository) Prune ¶
func (_m *Repository) Prune(_a0 git.PruneOptions) error
Prune provides a mock function with given fields: _a0
func (*Repository) Push ¶
func (_m *Repository) Push(_a0 *git.PushOptions) error
Push provides a mock function with given fields: _a0
func (*Repository) PushContext ¶
func (_m *Repository) PushContext(_a0 context.Context, _a1 *git.PushOptions) error
PushContext provides a mock function with given fields: _a0, _a1
func (*Repository) Reference ¶
func (_m *Repository) Reference(_a0 plumbing.ReferenceName, _a1 bool) (*plumbing.Reference, error)
Reference provides a mock function with given fields: _a0, _a1
func (*Repository) References ¶
func (_m *Repository) References() (storer.ReferenceIter, error)
References provides a mock function with given fields:
func (*Repository) Remote ¶
func (_m *Repository) Remote(_a0 string) (*git.Remote, error)
Remote provides a mock function with given fields: _a0
func (*Repository) Remotes ¶
func (_m *Repository) Remotes() ([]*git.Remote, error)
Remotes provides a mock function with given fields:
func (*Repository) RepackObjects ¶
func (_m *Repository) RepackObjects(_a0 *git.RepackConfig) error
RepackObjects provides a mock function with given fields: _a0
func (*Repository) ResolveRevision ¶
ResolveRevision provides a mock function with given fields: _a0
func (*Repository) SetConfig ¶
func (_m *Repository) SetConfig(_a0 *config.Config) error
SetConfig provides a mock function with given fields: _a0
func (*Repository) Tag ¶
func (_m *Repository) Tag(_a0 string) (*plumbing.Reference, error)
Tag provides a mock function with given fields: _a0
func (*Repository) TagObjects ¶
func (_m *Repository) TagObjects() (*object.TagIter, error)
TagObjects provides a mock function with given fields:
func (*Repository) Tags ¶
func (_m *Repository) Tags() (storer.ReferenceIter, error)
Tags provides a mock function with given fields:
func (*Repository) TreeObject ¶
TreeObject provides a mock function with given fields: _a0
func (*Repository) TreeObjects ¶
func (_m *Repository) TreeObjects() (*object.TreeIter, error)
TreeObjects provides a mock function with given fields:
type Worktree ¶
Worktree is an autogenerated mock type for the Worktree type
func (*Worktree) AddWithOptions ¶
func (_m *Worktree) AddWithOptions(_a0 *git.AddOptions) error
AddWithOptions provides a mock function with given fields: _a0
func (*Worktree) Checkout ¶
func (_m *Worktree) Checkout(_a0 *git.CheckoutOptions) error
Checkout provides a mock function with given fields: _a0
func (*Worktree) Clean ¶
func (_m *Worktree) Clean(_a0 *git.CleanOptions) error
Clean provides a mock function with given fields: _a0
func (*Worktree) Grep ¶
func (_m *Worktree) Grep(_a0 *git.GrepOptions) ([]git.GrepResult, error)
Grep provides a mock function with given fields: _a0
func (*Worktree) Pull ¶
func (_m *Worktree) Pull(_a0 *git.PullOptions) error
Pull provides a mock function with given fields: _a0
func (*Worktree) PullContext ¶
PullContext provides a mock function with given fields: _a0, _a1
func (*Worktree) RemoveGlob ¶
RemoveGlob provides a mock function with given fields: _a0
func (*Worktree) Reset ¶
func (_m *Worktree) Reset(_a0 *git.ResetOptions) error
Reset provides a mock function with given fields: _a0
func (*Worktree) Submodules ¶
func (_m *Worktree) Submodules() (git.Submodules, error)
Submodules provides a mock function with given fields: