編輯

共用方式為


GitTreeDiffEntry interface

Properties

baseObjectId

SHA1 hash of the object in the base tree, if it exists. Will be null in case of adds.

changeType

Type of change that affected this entry.

objectType

Object type of the tree entry. Blob, Tree or Commit("submodule")

path

Relative path in base and target trees.

targetObjectId

SHA1 hash of the object in the target tree, if it exists. Will be null in case of deletes.

Property Details

baseObjectId

SHA1 hash of the object in the base tree, if it exists. Will be null in case of adds.

baseObjectId: string

Property Value

string

changeType

Type of change that affected this entry.

changeType: VersionControlChangeType

Property Value

objectType

Object type of the tree entry. Blob, Tree or Commit("submodule")

objectType: GitObjectType

Property Value

path

Relative path in base and target trees.

path: string

Property Value

string

targetObjectId

SHA1 hash of the object in the target tree, if it exists. Will be null in case of deletes.

targetObjectId: string

Property Value

string