GitHttpClientBase.GetTreeDiffsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetTreeDiffsAsync(Guid, Guid, String, String, Nullable<Int32>, String, Object, CancellationToken) |
[Preview API] Gets the differences between two trees. Commits will be resolved to the trees they point to. Renames and object type changes are returned as delete on the old object and add on the new object. |
| GetTreeDiffsAsync(Guid, String, String, String, Nullable<Int32>, String, Object, CancellationToken) |
[Preview API] Gets the differences between two trees. Commits will be resolved to the trees they point to. Renames and object type changes are returned as delete on the old object and add on the new object. |
| GetTreeDiffsAsync(String, Guid, String, String, Nullable<Int32>, String, Object, CancellationToken) |
[Preview API] Gets the differences between two trees. Commits will be resolved to the trees they point to. Renames and object type changes are returned as delete on the old object and add on the new object. |
| GetTreeDiffsAsync(String, String, String, String, Nullable<Int32>, String, Object, CancellationToken) |
[Preview API] Gets the differences between two trees. Commits will be resolved to the trees they point to. Renames and object type changes are returned as delete on the old object and add on the new object. |
GetTreeDiffsAsync(Guid, Guid, String, String, Nullable<Int32>, String, Object, CancellationToken)
[Preview API] Gets the differences between two trees. Commits will be resolved to the trees they point to. Renames and object type changes are returned as delete on the old object and add on the new object.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse> GetTreeDiffsAsync(Guid project, Guid repositoryId, string baseId = null, string targetId = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTreeDiffsAsync : Guid * Guid * string * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse>
override this.GetTreeDiffsAsync : Guid * Guid * string * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse>
Parameters
- project
- Guid
Project ID
- repositoryId
- Guid
Friendly name or guid of repository
- baseId
- String
Sha1Id of base tree or commit
- targetId
- String
Sha1Id of target tree or commit
- continuationToken
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetTreeDiffsAsync(Guid, String, String, String, Nullable<Int32>, String, Object, CancellationToken)
[Preview API] Gets the differences between two trees. Commits will be resolved to the trees they point to. Renames and object type changes are returned as delete on the old object and add on the new object.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse> GetTreeDiffsAsync(Guid project, string repositoryId, string baseId = null, string targetId = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTreeDiffsAsync : Guid * string * string * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse>
override this.GetTreeDiffsAsync : Guid * string * string * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse>
Parameters
- project
- Guid
Project ID
- repositoryId
- String
Friendly name or guid of repository
- baseId
- String
Sha1Id of base tree or commit
- targetId
- String
Sha1Id of target tree or commit
- continuationToken
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetTreeDiffsAsync(String, Guid, String, String, Nullable<Int32>, String, Object, CancellationToken)
[Preview API] Gets the differences between two trees. Commits will be resolved to the trees they point to. Renames and object type changes are returned as delete on the old object and add on the new object.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse> GetTreeDiffsAsync(string project, Guid repositoryId, string baseId = null, string targetId = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTreeDiffsAsync : string * Guid * string * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse>
override this.GetTreeDiffsAsync : string * Guid * string * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse>
Parameters
- project
- String
Project ID or project name
- repositoryId
- Guid
Friendly name or guid of repository
- baseId
- String
Sha1Id of base tree or commit
- targetId
- String
Sha1Id of target tree or commit
- continuationToken
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetTreeDiffsAsync(String, String, String, String, Nullable<Int32>, String, Object, CancellationToken)
[Preview API] Gets the differences between two trees. Commits will be resolved to the trees they point to. Renames and object type changes are returned as delete on the old object and add on the new object.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse> GetTreeDiffsAsync(string project, string repositoryId, string baseId = null, string targetId = null, Nullable<int> top = null, string continuationToken = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTreeDiffsAsync : string * string * string * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse>
override this.GetTreeDiffsAsync : string * string * string * string * Nullable<int> * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.SourceControl.WebApi.GitTreeDiffResponse>
Parameters
- project
- String
Project ID or project name
- repositoryId
- String
Friendly name or guid of repository
- baseId
- String
Sha1Id of base tree or commit
- targetId
- String
Sha1Id of target tree or commit
- continuationToken
- String
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.