GitTreeEntryRef interface

属性

gitObjectType

Blob 或树

mode

表示为八进制字符串的模式

objectId

git 对象的 SHA1 哈希

relativePath

相对于父树对象的路径

size

内容大小

url

用于检索树或 blob 的 URL

属性详细信息

gitObjectType

Blob 或树

gitObjectType: GitObjectType

属性值

mode

表示为八进制字符串的模式

mode: string

属性值

string

objectId

git 对象的 SHA1 哈希

objectId: string

属性值

string

relativePath

相对于父树对象的路径

relativePath: string

属性值

string

size

内容大小

size: number

属性值

number

url

用于检索树或 blob 的 URL

url: string

属性值

string