(remoteName string, refspecs ...string)
| 54 | } |
| 55 | |
| 56 | func (p *Project) Fetch(remoteName string, refspecs ...string) error { |
| 57 | remote, err := p.Remotes().Lookup(remoteName) |
| 58 | if err != nil { |
| 59 | return fmt.Errorf("Failed to lookup remote: %v", err) |
| 60 | } |
| 61 | |
| 62 | return p.fetch(remote, refspecs...) |
| 63 | } |
| 64 | |
| 65 | func (p *Project) FetchAnonymous(url string, refspecs ...string) error { |
| 66 | remote, err := p.Remotes().CreateAnonymous(url) |
no test coverage detected