MCPcopy Index your code
hub / github.com/BingyanStudio/github-analyzer / parsePullRequests

Function parsePullRequests

api/src/services/generateReport.ts:83–95  ·  view source on GitHub ↗
(nodes: any)

Source from the content-addressed store, hash-verified

81}
82
83function parsePullRequests(nodes: any): PullRequest[] {
84 return nodes.map((pr) => {
85 return {
86 title: pr.title,
87 body: pr.body,
88 createdAt: new Date(pr.createdAt).toLocaleString("zh-CN"),
89 repository: {
90 nameWithOwner: pr.repository.nameWithOwner,
91 description: pr.repository.description,
92 },
93 };
94 });
95}
96
97async function fetchUserDataBatched(
98 octokit: Octokit,

Callers 2

fetchUserDataBatchedFunction · 0.85
fetchUserDataPagedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected