github-tools / github-tools/github
listBranches() does not return all branches in a repository
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 3.8k
- Forks
- 809
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
When using `listBranches()` on a repository with _over_ 30 branches, I only get 30 branches in the response. The response includes the page information:
```
link: '; rel="next", ; rel="last"',
```
However, I do not see a way to include options on the [listBranches()](http://github-tools.github.io/github/docs/3.2.3/Repository.html#listBranches) function. Is it currently possible to get back all the branches in the repository?
EDIT: This might be a duplicate of [this feature request](https://github.com/github-tools/github/issues/408).
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.