MCPcopy
hub / github.com/promptfoo/promptfoo / partitionReviewCommentsByDiff

Function partitionReviewCommentsByDiff

code-scan-action/src/github.ts:186–193  ·  view source on GitHub ↗
(
  token: string,
  context: PullRequestContext,
  comments: Comment[],
)

Source from the content-addressed store, hash-verified

184}
185
186export async function partitionReviewCommentsByDiff(
187 token: string,
188 context: PullRequestContext,
189 comments: Comment[],
190) {
191 const octokit = new Octokit({ auth: token });
192 return partitionReviewCommentsWithOctokit(octokit, context, comments);
193}

Callers 2

postFallbackCommentsFunction · 0.90
github.test.tsFile · 0.90

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…