An interface that represents a file in a GitHub repository. It has properties for the file name, path, SHA, size, URLs, type, and links.

interface GithubFile {
    download_url: string;
    git_url: string;
    html_url: string;
    name: string;
    path: string;
    sha: string;
    size: number;
    type: string;
    url: string;
}

Properties

download_url: string
git_url: string
html_url: string
name: string
path: string
sha: string
size: number
type: string
url: string