import { RepoClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/mod.ts";
Provides a client for interacting with GitHub repositories.
Constructors
Initializes a new instance of the RepoClient class.
Methods
Gets a page of repositories owned by the currently set RepoClient.ownerName with a quantity that matches the given qtyPerPage.
Gets the content of a file in a repository with a name that matches the given RepoClient.repoName, on a branch with a name that matches the given ref at the given relativeFilePath.
Creates a new file in a repository with a name that matches the given RepoClient.repoName, on a branch that matches the given branchName, at the given relativeFilePath, and with the given fileContent, with the given commitMessage.
Checks if a repository with a name that matches the RepoClient.repoName exists.
Gets a value indicating whether or not a file exists at the given relativeFilePath in a repository with a name that matches the given RepoClient.repoName.
Gets a page of repositories owned by the currently set RepoClient.ownerName with a quantity that matches the given qtyPerPage.
Gets the content of a file at the given relativeFilePath in a repository with a name that matches the given RepoClient.repoName.
Gets information about a repository with a name that matches the given RepoClient.repoName.
Gets a list of all the variables for a repository with a name that matches the given RepoClient.repoName.
Updates the content of a file in a repository with a name that matches the given RepoClient.repoName, on a branch that matches the given branchName, at the given relativeFilePath, with the given fileContent, and with the given commitMessage.
Updates the value of a value to the given variableValue a variable with a name that matches the given variableName in a repository with a name that matches the given RepoClient.repoName.
Gets a value indicating whether or not a variable with the given variableName, in a repository with a name that matches the given RepoClient.repoName.