You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
class GitObject
|
|
{
|
|
public $rawdata = "";
|
|
public $size = 0;
|
|
public $repo = null;
|
|
public $sha = "";
|
|
|
|
function __construct($repo, $headerdata, $data, $sha)
|
|
{
|
|
$this->repo = $repo;
|
|
$this->size = (int)$headerdata;
|
|
$this->rawdata = $data;
|
|
$this->sha = $sha;
|
|
}
|
|
}
|