Skip to content

GitTreeItem

Defined in: git/git.ts:37

One entry of a git tree.

optional mode?: string

Defined in: git/git.ts:45

The entry’s file mode, e.g. 100644.


path: string

Defined in: git/git.ts:39

The entry’s path within the tree.


sha: string

Defined in: git/git.ts:41

The entry’s object SHA.


optional size?: number

Defined in: git/git.ts:47

The blob’s size in bytes; absent for trees.


type: string

Defined in: git/git.ts:43

The kind of object the entry points at, e.g. blob or tree.