Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/mod.ts>RepoClient#getFileContent

Various HTTP clients for miscellaneous use.
Go to Latest
method RepoClient.prototype.getFileContent
import { RepoClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.12/mod.ts";

Gets the content of a file at the given relativeFilePath in a repository with a name that matches the given RepoClient.repoName.

Parameters

branchName: string

The relative path of the file.

relativeFilePath: string

Returns

Promise<string>

The content of the file.