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