GitHubRepo
class GitHubRepo(ownerType: OwnerType, ownerName: String, repoName: String, scheme: String = "https://", domainName: String = GITHUB) : AbstractRepo
A ContentRoot representing a GitHub repository.
Raw content for github.com is fetched from raw.githubusercontent.com. For any other domain (GitHub Enterprise Server) it is fetched from the HOSTNAME/raw/ path, the form used when subdomain isolation is disabled; a server with subdomain isolation enabled serves raw content from raw.HOSTNAME instead, which this class does not detect.
Parameters
ownerType
whether the owner is a user or organization
ownerName
the GitHub username or organization name
repoName
the repository name
scheme
the URL scheme, defaults to "https://"
domainName
the GitHub domain, defaults to "github.com"