Пример #1
0
 /// <summary>
 /// Gets the diff or patch for a pull request. This returns a 302 redirect response with the Location header
 /// set to the URL that will perform a temporary merge and return the diff of it. The result is identical to diff in the UI.
 /// </summary>
 /// <returns></returns>
 public async Task <string> GetDiffForPullRequestAsync()
 {
     return(await _repositoriesEndPoint.GetDiffForPullRequestAsync(_accountName, _slug, _pullRequestId));
 }