MCPcopy Create free account
hub / github.com/decaporg/decap-cms / getPullRequestFiles

Method getPullRequestFiles

packages/decap-cms-backend-forgejo/src/API.ts:709–714  ·  view source on GitHub ↗
(number: number)

Source from the content-addressed store, hash-verified

707 }
708
709 async getPullRequestFiles(number: number): Promise<ForgejoChangedFile[]> {
710 if (number === MOCK_PULL_REQUEST) {
711 return [];
712 }
713 return this.request(`${this.originRepoURL}/pulls/${number}/files`);
714 }
715
716 async getDifferences(from: string, to: string): Promise<ForgejoCompareResponse> {
717 // For OA, try the fork repo first, then fall back to origin

Callers 1

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected