コード例 #1
0
 internal object GetDiffForPullRequest(int pullRequestId)
 {
     return(_repositoriesEndPoint.GetDiffForPullRequest(_accountName, _repository, pullRequestId));
 }
コード例 #2
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 string GetDiffForPullRequest()
 {
     return(_repositoriesEndPoint.GetDiffForPullRequest(_accountName, _slug, _pullRequestId));
 }
コード例 #3
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 object GetDiffForPullRequest()
 {
     return(_repositoriesEndPoint.GetDiffForPullRequest(_accountName, _repository, _pullRequestId));
 }