(repo *Repository, hostname string)
| 571 | } |
| 572 | |
| 573 | func InitRepoHostname(repo *Repository, hostname string) *Repository { |
| 574 | repo.hostname = hostname |
| 575 | if repo.Parent != nil { |
| 576 | repo.Parent.hostname = hostname |
| 577 | } |
| 578 | return repo |
| 579 | } |
| 580 | |
| 581 | // RepositoryV3 is the repository result from GitHub API v3 |
| 582 | type repositoryV3 struct { |
no outgoing calls