Permalink
Browse files

bump up 0.2.0.

i know php-git still have issues. but working good in limited environment.

next libgit2 development branche have many internal changes.
so i would like to follow them.
  • Loading branch information...
1 parent 77d9c8b commit d944d805ca4516ea41846ceea6d5c7f41d197260 @chobie chobie committed Mar 21, 2011
View
@@ -19,8 +19,7 @@
</target>
<target name="install">
- <exec executable="sudo" dir="src">
- <arg value="make" />
+ <exec executable="make" dir="src">
<arg value="install" />
</exec>
</target>
@@ -8,19 +8,21 @@ Git\\Backend::exists
Description
***********************************************************
-public **Git\\Backend::exists** (*$key*)
+abstract public **Git\\Backend::exists** (string *$key*)
Parameters
***********************************************************
*key*
- fill them out later
+ target hash id.
Return Values
***********************************************************
+this method must return true or false.
+
Examples
***********************************************************
@@ -8,19 +8,21 @@ Git\\Backend::read
Description
***********************************************************
-public **Git\\Backend::read** (*$key*)
+abstract public **Git\\Backend::read** (string *$key*)
Parameters
***********************************************************
*key*
- fill them out later
+ target hash id
Return Values
***********************************************************
+Git\\RawObject / false
+
Examples
***********************************************************
@@ -8,19 +8,21 @@ Git\\Backend::read_header
Description
***********************************************************
-public **Git\\Backend::read_header** (*$key*)
+abstract public **Git\\Backend::read_header** (*$key*)
Parameters
***********************************************************
*key*
- fill them out later
+ target hash id.
Return Values
***********************************************************
+Git\RawObject / false
+
Examples
***********************************************************
@@ -8,19 +8,21 @@ Git\\Backend::write
Description
***********************************************************
-public **Git\\Backend::write** (*$object*)
+abstract public **Git\\Backend::write** (Git\RawObject *$object*)
Parameters
***********************************************************
*object*
- fill them out later
+ Git\RawObject
Return Values
***********************************************************
+true / false
+
Examples
***********************************************************
@@ -8,14 +8,14 @@ Git\\Blob::__construct
Description
***********************************************************
-public **Git\\Blob::__construct** (*$repository*)
+public **Git\\Blob::__construct** (Git\Repository *$repository*)
Parameters
***********************************************************
*repository*
- fill them out later
+ Git\Repository object.
Return Values
@@ -15,7 +15,7 @@ Parameters
***********************************************************
*string*
- fill them out later
+ contents
Return Values
@@ -14,8 +14,8 @@ public **Git\\Commit::getParent** (int *$offset* = 0)
Parameters
***********************************************************
-*offset*
- fill them out later
+int *offset*
+ specified parent offset.
Return Values
***********************************************************
@@ -8,16 +8,12 @@ Git\\Commit::getShortMessage
Description
***********************************************************
-public **Git\\Commit::getShortMessage** (*$message*)
+public **Git\\Commit::getShortMessage** ()
Parameters
***********************************************************
-*message*
- fill them out later
-
-
Return Values
***********************************************************
@@ -1,28 +0,0 @@
-.. index::
- single: setId (Git\Tree\Entry method)
-
-
-Git\\Tree\\Entry::setId
-===========================================================
-
-Description
-***********************************************************
-
-public **Git\\Tree\\Entry::setId** (*$hash*)
-
-
-Parameters
-***********************************************************
-
-*hash*
- fill them out later
-
-
-Return Values
-***********************************************************
-
-Examples
-***********************************************************
-
-See Also
-***********************************************************
@@ -1,28 +0,0 @@
-.. index::
- single: __construct (Git\Index method)
-
-
-Git\\Index::__construct
-===========================================================
-
-Description
-***********************************************************
-
-public **Git\\Index::__construct** (*$repository_path*)
-
-
-Parameters
-***********************************************************
-
-*repository_path*
- fill them out later
-
-
-Return Values
-***********************************************************
-
-Examples
-***********************************************************
-
-See Also
-***********************************************************
@@ -11,14 +11,14 @@ add specified file to your index. you have to call Git::Index::write after this
Description
***********************************************************
-public **Git\\Index::add** (string *$path*)
+public **Git\\Index::add** (string *$path*,int *$staging* = 0)
Parameters
***********************************************************
*path*
- fill them out later
+ file path.
Return Values
@@ -8,14 +8,14 @@ Git\\ODB::addAlternate
Description
***********************************************************
-public **Git\\ODB::addAlternate** (*$backend*)
+public **Git\\ODB::addAlternate** (Git\Backend *$backend*)
Parameters
***********************************************************
-*backend*
- fill them out later
+Git\Backend *backend*
+ custom backend object
Return Values
@@ -8,14 +8,14 @@ Git\\ODB::addBackend
Description
***********************************************************
-public **Git\\ODB::addBackend** (*$backend*)
+public **Git\\ODB::addBackend** (Git\Backend *$backend*)
Parameters
***********************************************************
-*backend*
- fill them out later
+Git\Backend *backend*
+ custom backend object
Return Values
@@ -8,20 +8,20 @@ Git\\RawObject::__construct
Description
***********************************************************
-public **Git\\RawObject::__construct** (*$type*, *$data*, [*$len*])
+public **Git\\RawObject::__construct** (int *$type*, string *$data*, [int *$len*])
Parameters
***********************************************************
*type*
- fill them out later
+ object type.
*data*
- fill them out later
+ object data
*len*
- fill them out later
+ object data length
Return Values
@@ -8,14 +8,14 @@ Git\\Reference::__construct
Description
***********************************************************
-public **Git\\Reference::__construct** (*$repository*)
+public **Git\\Reference::__construct** (Git\Repository *$repository*)
Parameters
***********************************************************
-*repository*
- fill them out later
+Git\Repository *repository*
+ Git\Repository object.
Return Values
@@ -1,28 +0,0 @@
-.. index::
- single: setName (Git\Reference method)
-
-
-Git\\Reference::setName
-===========================================================
-
-Description
-***********************************************************
-
-public **Git\\Reference::setName** (*$name*)
-
-
-Parameters
-***********************************************************
-
-*name*
- fill them out later
-
-
-Return Values
-***********************************************************
-
-Examples
-***********************************************************
-
-See Also
-***********************************************************
@@ -1,28 +0,0 @@
-.. index::
- single: setOID (Git\Reference method)
-
-
-Git\\Reference::setOID
-===========================================================
-
-Description
-***********************************************************
-
-public **Git\\Reference::setOID** (*$oid*)
-
-
-Parameters
-***********************************************************
-
-*oid*
- fill them out later
-
-
-Return Values
-***********************************************************
-
-Examples
-***********************************************************
-
-See Also
-***********************************************************
Oops, something went wrong.

0 comments on commit d944d80

Please sign in to comment.