Documentation
¶
Index ¶
- type Mock
- func (m *Mock) ExpectFetch()
- func (m *Mock) ExpectFixup(commitHash string)
- func (m *Mock) ExpectLocalBranch(name string)
- func (m *Mock) ExpectLogAndRespond(commits []*git.Commit)
- func (m *Mock) ExpectPushCommits(commits []*git.Commit)
- func (m *Mock) ExpectRemote(remote string)
- func (m *Mock) Git(args string, output *string) error
- func (m *Mock) GitWithEditor(args string, output *string, editorCmd string) error
- func (m *Mock) MustGit(argStr string, output *string)
- func (m *Mock) RootDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶ added in v0.7.15
type Mock struct {
// contains filtered or unexported fields
}
func (*Mock) ExpectFetch ¶ added in v0.7.15
func (m *Mock) ExpectFetch()
func (*Mock) ExpectFixup ¶ added in v0.7.15
func (*Mock) ExpectLocalBranch ¶ added in v0.9.1
func (*Mock) ExpectLogAndRespond ¶ added in v0.7.15
func (*Mock) ExpectPushCommits ¶ added in v0.7.15
func (*Mock) ExpectRemote ¶ added in v0.7.15
func (*Mock) GitWithEditor ¶ added in v0.7.15
Click to show internal directories.
Click to hide internal directories.