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