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

x/kd_clients/core/Models/mod.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.13/core/Models/mod.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.