GitDirectoryEntry
Defined in: git/git.ts:75
One entry of a directory listing from the contents API.
Properties
Section titled “Properties”name:
string
Defined in: git/git.ts:77
The entry’s name, without its directory.
path:
string
Defined in: git/git.ts:79
The entry’s path from the repository root, e.g. .holocron/notifications.ts.
sha:
string
Defined in: git/git.ts:85
The entry’s object SHA.
size:
number
Defined in: git/git.ts:83
The size in bytes; GitHub reports 0 for directories and submodules.
type:
"file"|"dir"|"symlink"|"submodule"
Defined in: git/git.ts:81
What the entry is; dir entries are listed, and descended into only when recursive is set.