mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-14 03:42:41 +09:00
changes
This commit is contained in:
59
vendor/knplabs/github-api/lib/Github/Api/GitData.php
vendored
Normal file
59
vendor/knplabs/github-api/lib/Github/Api/GitData.php
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
namespace Github\Api;
|
||||
|
||||
use Github\Api\GitData\Blobs;
|
||||
use Github\Api\GitData\Commits;
|
||||
use Github\Api\GitData\References;
|
||||
use Github\Api\GitData\Tags;
|
||||
use Github\Api\GitData\Trees;
|
||||
|
||||
/**
|
||||
* Getting full versions of specific files and trees in your Git repositories.
|
||||
*
|
||||
* @link http://developer.github.com/v3/git/
|
||||
*
|
||||
* @author Joseph Bielawski <stloyd@gmail.com>
|
||||
*/
|
||||
class GitData extends AbstractApi
|
||||
{
|
||||
/**
|
||||
* @return Blobs
|
||||
*/
|
||||
public function blobs()
|
||||
{
|
||||
return new Blobs($this->client);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Commits
|
||||
*/
|
||||
public function commits()
|
||||
{
|
||||
return new Commits($this->client);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return References
|
||||
*/
|
||||
public function references()
|
||||
{
|
||||
return new References($this->client);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Tags
|
||||
*/
|
||||
public function tags()
|
||||
{
|
||||
return new Tags($this->client);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Trees
|
||||
*/
|
||||
public function trees()
|
||||
{
|
||||
return new Trees($this->client);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user