Documentation ¶
Index ¶
- type Git
- type Repository
- type ResolvedCommit
- type ResolvedUserRef
- type WorktreeRepository
- func (_m *WorktreeRepository) Checkout(commit git.ResolvedCommit) error
- func (_m *WorktreeRepository) RecursiveSharedCloneTo(dst string) (git.WorktreeRepository, error)
- func (_m *WorktreeRepository) Remove() error
- func (_m *WorktreeRepository) ResolveCommit(ref string) (git.ResolvedUserRef, error)
- func (_m *WorktreeRepository) RootDir() string
- type WriteableRepository
- func (_m *WriteableRepository) ClearSourceControlledFilesFromWorktree() error
- func (_m *WriteableRepository) CommitEverythingInWorktree(message string) (git.Hash, error)
- func (_m *WriteableRepository) RecursiveSharedCloneTo(dst string) (git.WorktreeRepository, error)
- func (_m *WriteableRepository) ResolveCommit(ref string) (git.ResolvedUserRef, error)
- func (_m *WriteableRepository) RootDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
Git is an autogenerated mock type for the Git type
func (*Git) GetRelativeLocation ¶
GetRelativeLocation provides a mock function with given fields: currentDir
func (*Git) NewRepository ¶
func (_m *Git) NewRepository(dst string) (git.WriteableRepository, error)
NewRepository provides a mock function with given fields: dst
func (*Git) OpenRepository ¶
func (_m *Git) OpenRepository(repoDir string) (git.Repository, error)
OpenRepository provides a mock function with given fields: repoDir
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) RecursiveSharedCloneTo ¶
func (_m *Repository) RecursiveSharedCloneTo(dst string) (git.WorktreeRepository, error)
RecursiveSharedCloneTo provides a mock function with given fields: dst
func (*Repository) ResolveCommit ¶
func (_m *Repository) ResolveCommit(ref string) (git.ResolvedUserRef, error)
ResolveCommit provides a mock function with given fields: ref
func (*Repository) RootDir ¶
func (_m *Repository) RootDir() string
RootDir provides a mock function with given fields:
type ResolvedCommit ¶
ResolvedCommit is an autogenerated mock type for the ResolvedCommit type
func (*ResolvedCommit) Hash ¶
func (_m *ResolvedCommit) Hash() git.Hash
Hash provides a mock function with given fields:
func (*ResolvedCommit) Repo ¶
func (_m *ResolvedCommit) Repo() git.Repository
Repo provides a mock function with given fields:
type ResolvedUserRef ¶
ResolvedUserRef is an autogenerated mock type for the ResolvedUserRef type
func (*ResolvedUserRef) Commit ¶
func (_m *ResolvedUserRef) Commit() git.ResolvedCommit
Commit provides a mock function with given fields:
func (*ResolvedUserRef) UserRef ¶
func (_m *ResolvedUserRef) UserRef() string
UserRef provides a mock function with given fields:
type WorktreeRepository ¶
WorktreeRepository is an autogenerated mock type for the WorktreeRepository type
func (*WorktreeRepository) Checkout ¶
func (_m *WorktreeRepository) Checkout(commit git.ResolvedCommit) error
Checkout provides a mock function with given fields: commit
func (*WorktreeRepository) RecursiveSharedCloneTo ¶
func (_m *WorktreeRepository) RecursiveSharedCloneTo(dst string) (git.WorktreeRepository, error)
RecursiveSharedCloneTo provides a mock function with given fields: dst
func (*WorktreeRepository) Remove ¶
func (_m *WorktreeRepository) Remove() error
Remove provides a mock function with given fields:
func (*WorktreeRepository) ResolveCommit ¶
func (_m *WorktreeRepository) ResolveCommit(ref string) (git.ResolvedUserRef, error)
ResolveCommit provides a mock function with given fields: ref
func (*WorktreeRepository) RootDir ¶
func (_m *WorktreeRepository) RootDir() string
RootDir provides a mock function with given fields:
type WriteableRepository ¶
WriteableRepository is an autogenerated mock type for the WriteableRepository type
func (*WriteableRepository) ClearSourceControlledFilesFromWorktree ¶
func (_m *WriteableRepository) ClearSourceControlledFilesFromWorktree() error
ClearSourceControlledFilesFromWorktree provides a mock function with given fields:
func (*WriteableRepository) CommitEverythingInWorktree ¶
func (_m *WriteableRepository) CommitEverythingInWorktree(message string) (git.Hash, error)
CommitEverythingInWorktree provides a mock function with given fields: message
func (*WriteableRepository) RecursiveSharedCloneTo ¶
func (_m *WriteableRepository) RecursiveSharedCloneTo(dst string) (git.WorktreeRepository, error)
RecursiveSharedCloneTo provides a mock function with given fields: dst
func (*WriteableRepository) ResolveCommit ¶
func (_m *WriteableRepository) ResolveCommit(ref string) (git.ResolvedUserRef, error)
ResolveCommit provides a mock function with given fields: ref
func (*WriteableRepository) RootDir ¶
func (_m *WriteableRepository) RootDir() string
RootDir provides a mock function with given fields: