GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — php-git/example/packbuilder.php at develop · libgit2/php-git Expand file tree/ Copy pathpackbuilder.phpMore file actions 21 lines (17 loc) · 607 Bytes / Copy pathpackbuilder.phpFile metadata and controls21 lines (17 loc) · 607 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 <?php $repo = git_repository_open("."); $pb = git_packbuilder_new($repo); git_packbuilder_insert_commit($pb, "7a66238ef5f12f754b511f0dfec891c061dbc2e0"); git_packbuilder_insert_commit($pb, "c3b172cda6993b06e8ae6b1bc7f1364968e112c9"); $p = array(); git_packbuilder_set_callbacks($pb, function($stage, $current, $total, &$payload){ echo $stage; }, $p); git_packbuilder_write($pb, "/tmp/pack", 0,function($stats, &$payload){ var_dump($stats); }, $p); git_packbuilder_foreach($pb, function($b, $size, &$payload) { echo $size . PHP_EOL; }, $p); $hash = git_packbuilder_hash($pb); var_dump($hash); |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |