GitTreeDiffEntry interface
Properties
base |
SHA1 hash of the object in the base tree, if it exists. Will be null in case of adds. |
change |
Type of change that affected this entry. |
object |
Object type of the tree entry. Blob, Tree or Commit("submodule") |
path | Relative path in base and target trees. |
target |
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈