Automatically migrated from Gitolite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
230 B

  1. <?php
  2. class GitObject
  3. {
  4. public $rawdata = "";
  5. public $size = 0;
  6. public $repo = null;
  7. function __construct($repo, $headerdata, $data)
  8. {
  9. $this->repo = $repo;
  10. $this->size = (int)$headerdata;
  11. $this->rawdata = $data;
  12. }
  13. }