GitHub

class GitHub @JvmOverloads constructor(owner: String, repo: String, credentials: Credentials, basePath: Path = Paths.get(""), reference: String? = null, http: HttpHandler = SetHostFrom(Uri.of("https://api.github.com")).then(JavaHttpClient())) : Function1<String, InteractionStorage>

Read a file from a repository using the GitHub API.

Constructors

Link copied to clipboard
constructor(owner: String, repo: String, credentials: Credentials, basePath: Path = Paths.get(""), reference: String? = null, http: HttpHandler = SetHostFrom(Uri.of("https://api.github.com")).then(JavaHttpClient()))

Functions

Link copied to clipboard
open operator override fun invoke(name: String): InteractionStorage