public interface

PullRequestAnnotationHelper

com.atlassian.bitbucket.internal.codeinsights.annotation.PullRequestAnnotationHelper
Known Indirect Subclasses

Summary

Public Methods
@Nonnull DiffResult getDiffResult(PullRequest pullRequest, Set<String> paths)
Streams the diff for the PR and returns a map with path -> modified lines.

Public Methods

@Nonnull public DiffResult getDiffResult (PullRequest pullRequest, Set<String> paths)

Streams the diff for the PR and returns a map with path -> modified lines.

Parameters
pullRequest the pull request to get a diff summary for
paths the paths for which to get a summary for
Returns
  • the lines modified by the pull request and is truncated flag