RepoHost is the GitHub hostname of the repository
()
| 261 | |
| 262 | // RepoHost is the GitHub hostname of the repository |
| 263 | func (r Repository) RepoHost() string { |
| 264 | return r.hostname |
| 265 | } |
| 266 | |
| 267 | // ViewerCanPush is true when the requesting user has push access |
| 268 | func (r Repository) ViewerCanPush() bool { |