Interface ContentsResponse

ContentsResponse contains information about a repo's entry's (dir, file, symlink, submodule) metadata and content

Hierarchy

  • ContentsResponse

Properties

FileLinksResponse contains the links for a repo's file

content?: string

content is populated when type is file, otherwise null

download_url?: string
encoding?: string

encoding is populated when type is file, otherwise null

git_url?: string
html_url?: string
last_commit_sha?: string
name?: string
path?: string
sha?: string
size?: number

Format

int64

submodule_git_url?: string

submodule_git_url is populated when type is submodule, otherwise null

target?: string

target is populated when type is symlink, otherwise null

type?: string

type will be file, dir, symlink, or submodule

url?: string

Generated using TypeDoc