Interface GitHubCodeResult

Represents a code search result item.

interface GitHubCodeResult {
    html_url: string;
    name: string;
    path: string;
    repository: GitHubRepository;
    sha: string;
    url: string;
}

Properties

html_url: string

URL to view the file on GitHub

name: string

Filename

path: string

Full path within the repository

repository: GitHubRepository

Repository the file belongs to

sha: string

Blob SHA

url: string

API URL for this blob