• Import from "@langchain/community/document_loaders/web/github" instead. This entrypoint will be removed in 0.3.0.

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