(repoDir string)
| 35 | } |
| 36 | |
| 37 | func (g *mockGitClient) ForRepo(repoDir string) gitClient { |
| 38 | args := g.Called(repoDir) |
| 39 | if v, ok := args.Get(0).(*mockGitClient); ok { |
| 40 | return v |
| 41 | } |
| 42 | return nil |
| 43 | } |
| 44 | |
| 45 | func (g *mockGitClient) Pull(remote, branch string) error { |
| 46 | args := g.Called(remote, branch) |