2012-05-05 20:06:53 +02:00
|
|
|
<?php
|
|
|
|
class GitObject
|
|
|
|
{
|
|
|
|
public $rawdata = "";
|
|
|
|
public $size = 0;
|
2012-05-05 20:21:21 +02:00
|
|
|
public $repo = null;
|
2012-05-05 20:06:53 +02:00
|
|
|
|
2012-05-05 20:21:21 +02:00
|
|
|
function __construct($repo, $headerdata, $data)
|
2012-05-05 20:06:53 +02:00
|
|
|
{
|
2012-05-05 20:21:21 +02:00
|
|
|
$this->repo = $repo;
|
2012-05-05 20:06:53 +02:00
|
|
|
$this->size = (int)$headerdata;
|
|
|
|
$this->rawdata = $data;
|
|
|
|
}
|
|
|
|
}
|