Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method RepoClient.prototype.getFileContentInternal
import { RepoClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/GitHubClients/RepoClient.ts";

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 branchName at the given relativeFilePath.

Parameters

branchName: string

The name of the branch.

relativeFilePath: string

The relative path of the file.

Returns

The content of the file and a boolean flag indicating whether or not the file exists.