GitItem interface

Extends

Properties

commitId

SHA1 of commit item was fetched at

gitObjectType

Type of object (Commit, Tree, Blob, Tag, ...)

latestProcessedChange

Shallow ref to commit that last changed this item Only populated if latestProcessedChange is requested May not be accurate if latest change is not yet cached

objectId

Git object id

originalObjectId

Git object id

submoduleWebUrl

Web URL if the item is a Git submodule and target service is supported. Supported services are Azure Repos, GitHub, GitLab, Bitbucket.

Inherited Properties

content
contentMetadata
isFolder
isSymLink
path
url

Property Details

commitId

SHA1 of commit item was fetched at

commitId: string

Property Value

string

gitObjectType

Type of object (Commit, Tree, Blob, Tag, ...)

gitObjectType: GitObjectType

Property Value

latestProcessedChange

Shallow ref to commit that last changed this item Only populated if latestProcessedChange is requested May not be accurate if latest change is not yet cached

latestProcessedChange: GitCommitRef

Property Value

objectId

Git object id

objectId: string

Property Value

string

originalObjectId

Git object id

originalObjectId: string

Property Value

string

submoduleWebUrl

Web URL if the item is a Git submodule and target service is supported. Supported services are Azure Repos, GitHub, GitLab, Bitbucket.

submoduleWebUrl: string

Property Value

string

Inherited Property Details

content

content: string

Property Value

string

Inherited From ItemModel.content

contentMetadata

contentMetadata: FileContentMetadata

Property Value

Inherited From ItemModel.contentMetadata

isFolder

isFolder: boolean

Property Value

boolean

Inherited From ItemModel.isFolder

isSymLink: boolean

Property Value

boolean

Inherited From ItemModel.isSymLink

path

path: string

Property Value

string

Inherited From ItemModel.path

url

url: string

Property Value

string

Inherited From ItemModel.url