interface GitTreeDiffEntry {
    baseObjectId?: string;
    changeType?: VersionControlChangeType;
    objectType?: GitObjectType;
    path?: string;
    targetObjectId?: string;
}

Properties

baseObjectId?: string

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

Type of change that affected this entry.

objectType?: GitObjectType

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

path?: string

Relative path in base and target trees.

targetObjectId?: string

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