Created
December 9, 2012 04:15
-
-
Save gwijayas/4243306 to your computer and use it in GitHub Desktop.
php-git class and function list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Start of git2 v.0.2.1 | |
class Git2_Repository { | |
/** | |
* @param repository_path | |
*/ | |
public function __construct ($repository_path) {} | |
public function isEmpty () {} | |
public function isBare () {} | |
public function getPath () {} | |
public function getWorkdir () {} | |
public function headDetached () {} | |
public function headOrphan () {} | |
/** | |
* @param isBare | |
*/ | |
public static function init ($isBare) {} | |
/** | |
* @param path | |
* @param across_fs | |
* @param ceiling_dirs | |
*/ | |
public static function discover ($path, $across_fs, $ceiling_dirs) {} | |
/** | |
* @param exists | |
*/ | |
public function exists ($exists) {} | |
/** | |
* @param contents | |
* @param type | |
*/ | |
public function hash ($contents, $type) {} | |
/** | |
* @param contents | |
* @param type | |
*/ | |
public function write ($contents, $type) {} | |
/** | |
* @param one | |
* @param two | |
*/ | |
public function getMergeBase ($one, $two) {} | |
public function checkout () {} | |
public function diff () {} | |
/** | |
* @param lookup | |
* @param type[optional] | |
*/ | |
public function lookup ($lookup, $type) {} | |
} | |
class Git2_Commit { | |
public function getMessage () {} | |
public function getMessageEncoding () {} | |
public function parentCount () {} | |
public function getAuthor () {} | |
public function getCommitter () {} | |
public function getOid () {} | |
public function getTree () {} | |
public function getParentCount () {} | |
/** | |
* @param index | |
*/ | |
public function getParent ($index) {} | |
public function getParents () {} | |
/** | |
* @param repository | |
* @param data | |
*/ | |
public static function create ($repository, $data) {} | |
} | |
class Git2_Blob { | |
public function getContent () {} | |
public function getSize () {} | |
public function __toString () {} | |
/** | |
* @param repository | |
* @param contents | |
*/ | |
public static function create ($repository, $contents) {} | |
} | |
class Git2_Tree implements Iterator, Traversable { | |
public function current () {} | |
public function key () {} | |
public function next () {} | |
public function rewind () {} | |
public function valid () {} | |
/** | |
* @param path | |
*/ | |
public function getSubtree ($path) {} | |
/** | |
* @param path | |
*/ | |
public function getEntryByName ($path) {} | |
} | |
class Git2_TreeBuilder { | |
/** | |
* @param tree | |
*/ | |
public function __construct ($tree) {} | |
/** | |
* @param entry | |
*/ | |
public function insert ($entry) {} | |
/** | |
* @param name | |
*/ | |
public function remove ($name) {} | |
public function clear () {} | |
public function write () {} | |
} | |
class Git2_TreeEntry { | |
public $name; | |
public $oid; | |
public $attributes; | |
/** | |
* @param entry | |
*/ | |
public function __construct ($entry) {} | |
public function isTree () {} | |
public function isBlob () {} | |
public function isSubmodule () {} | |
} | |
class Git2_Signature { | |
public $name; | |
public $email; | |
public $time; | |
/** | |
* @param name | |
* @param email | |
* @param date | |
*/ | |
public function __construct ($name, $email, $date) {} | |
} | |
class Git2_Walker implements Iterator, Traversable { | |
/** | |
* @param repository | |
*/ | |
public function __construct ($repository) {} | |
/** | |
* @param mode | |
*/ | |
public function sorting ($mode) {} | |
/** | |
* @param sha | |
*/ | |
public function push ($sha) {} | |
/** | |
* @param sha | |
*/ | |
public function hide ($sha) {} | |
public function reset () {} | |
public function current () {} | |
public function key () {} | |
public function next () {} | |
public function rewind () {} | |
public function valid () {} | |
} | |
class Git2_Reference { | |
public function getTarget () {} | |
public function getName () {} | |
public function getBaseName () {} | |
public function resolve () {} | |
/** | |
* @param repository | |
* @param name | |
* @param target | |
* @param force | |
*/ | |
public static function create ($repository, $name, $target, $force) {} | |
/** | |
* @param repository | |
* @param filter | |
*/ | |
public static function each ($repository, $filter) {} | |
/** | |
* @param repository | |
* @param path | |
*/ | |
public static function lookup ($repository, $path) {} | |
} | |
class Git2_IndexEntry { | |
public $path; | |
public $oid; | |
public $dev; | |
public $ino; | |
public $mode; | |
public $uid; | |
public $gid; | |
public $file_size; | |
public $flags; | |
public $flags_extended; | |
public $mtime; | |
public $ctime; | |
} | |
class Git2_Index implements Iterator, Traversable { | |
/** | |
* @param entry | |
*/ | |
public function __construct ($entry) {} | |
public function count () {} | |
public function current () {} | |
public function key () {} | |
public function next () {} | |
public function rewind () {} | |
public function valid () {} | |
public function writeTree () {} | |
} | |
class Git2_Config { | |
/** | |
* @param entry | |
*/ | |
public function __construct ($entry) {} | |
/** | |
* @param get | |
*/ | |
public function get ($get) {} | |
/** | |
* @param key | |
* @param value | |
*/ | |
public function store ($key, $value) {} | |
/** | |
* @param key | |
*/ | |
public function delete ($key) {} | |
} | |
class Git2_Remote { | |
/** | |
* @param repository | |
* @param url | |
*/ | |
public function __construct ($repository, $url) {} | |
public function fetch () {} | |
} | |
class Git2_Tag { | |
public function getTarget () {} | |
public function getMessage () {} | |
public function getBaseName () {} | |
} | |
class Git2_ODB { | |
/** | |
* @param contents | |
* @param type | |
*/ | |
public function hash ($contents, $type) {} | |
/** | |
* @param contents | |
* @param type | |
*/ | |
public function write ($contents, $type) {} | |
/** | |
* @param oid | |
*/ | |
public function exists ($oid) {} | |
/** | |
* @param oid | |
*/ | |
public function read ($oid) {} | |
} | |
class Git2_ODBObject { | |
public function getContent () {} | |
public function getType () {} | |
} | |
class Git2_Backend { | |
public function __construct () {} | |
/** | |
* @param oid | |
* @param type | |
*/ | |
abstract public function read ($oid, $type) {} | |
/** | |
* @param oid | |
* @param type | |
*/ | |
abstract public function readPrefix ($oid, $type) {} | |
/** | |
* @param oid | |
* @param type | |
*/ | |
abstract public function readHeader ($oid, $type) {} | |
/** | |
* @param oid | |
* @param data | |
* @param size | |
* @param type | |
*/ | |
abstract public function write ($oid, $data, $size, $type) {} | |
/** | |
* @param oid | |
*/ | |
abstract public function exists ($oid) {} | |
abstract public function free () {} | |
} | |
// End of git2 v.0.2.1 | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment