(repoDir string)
| 46 | } |
| 47 | |
| 48 | func (g *gitExecuter) ForRepo(repoDir string) gitClient { |
| 49 | gc := g.client.Copy() |
| 50 | gc.RepoDir = repoDir |
| 51 | return &gitExecuter{client: gc} |
| 52 | } |
| 53 | |
| 54 | func (g *gitExecuter) Pull(remote, branch string) error { |
| 55 | return g.client.Pull(context.Background(), remote, branch) |