internal object GetDiffForPullRequest(int pullRequestId) { return(_repositoriesEndPoint.GetDiffForPullRequest(_accountName, _repository, pullRequestId)); }
/// <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)); }
/// <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)); }