You are here

public function Github_Api_Repo::getPushableRepos in Bibliography Module 7.2

Get a list of the repositories that the authenticated user can push to

Return value

array list of repositories

File

modules/CiteProc/Github/Api/Repo.php, line 51

Class

Github_Api_Repo
Searching repositories, getting repository information and managing repository information for authenticated users.

Code

public function getPushableRepos() {
  $response = $this
    ->get('repos/pushable');
  return $response['repositories'];
}