GitHubFile
open class GitHubFile(val repo: GitHubRepo, val branchName: String, val srcPath: String, val fileName: String) : UrlSource
A ContentSource pointing to a specific file in a GitHub repository.
Constructs the raw content URL from the repository, branch, path, and file name.
Parameters
repo
the GitHub repository
branchName
the branch or tag name
srcPath
the directory path within the repository
fileName
the file name