diff --git a/lib/src/common/pulls_service.dart b/lib/src/common/pulls_service.dart index 27fa77a9..5acafb4d 100644 --- a/lib/src/common/pulls_service.dart +++ b/lib/src/common/pulls_service.dart @@ -75,11 +75,14 @@ class PullRequestsService extends Service { RepositoryCommit.fromJSON); } - Stream listFiles(RepositorySlug slug, int number) { + /// Lists the files in a pull request. + /// + /// API docs: https://developer.github.com/v3/pulls/#list-pull-requests-files + Stream listFiles(RepositorySlug slug, int number) { return PaginationHelper(_github).objects( "GET", '/repos/${slug.fullName}/pulls/$number/files', - PullRequestFile.fromJSON) as Stream; + PullRequestFile.fromJSON); } Future isMerged(RepositorySlug slug, int number) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy