github-tools / github-tools/github

listBranches() does not return all branches in a repository

Aperta
#592 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
3.8k
Fork
809
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.