Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kd_clients/core/Models/FileContentModel.ts>FileContentModel

Various HTTP clients for miscellaneous use.
Latest
interface FileContentModel
import { type FileContentModel } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/core/Models/FileContentModel.ts";

Represents the JSON data returned when getting the contents of a GitHub repository file.

Properties

name: string

Gets or sets the name of the file.

path: string

Gets or sets the path of the file.

size: number

Gets or sets the size of the file.

url: string

Gets or sets the URL of the file.

html_url: string

Gets or sets the HTML URL of the file.

download_url: string

Gets or sets the download URL of the file.

content: string

Gets or sets the content of the file.

sha: string

Gets or sets the blob sha of the file.