GitHubFile
constructor(repo: GitHubRepo, branchName: String, srcPath: String, fileName: String, connectTimeout: Duration = DEFAULT_CONNECT_TIMEOUT, readTimeout: Duration = DEFAULT_READ_TIMEOUT)
Parameters
repo
the GitHub repository
branchName
the branch or tag name
srcPath
the directory path within the repository
fileName
the file name
connectTimeout
the maximum time to wait for a connection (default 10 seconds)
readTimeout
the maximum time to wait for data once connected (default 30 seconds)
Creates a GitHubFile with the default timeouts.