Add documentation for the Walker type

This commit is contained in:
J. David Ibáñez 2013-12-23 17:26:02 +01:00
parent 46543a85d3
commit 9a5184ba35
2 changed files with 8 additions and 0 deletions

View File

@ -3,3 +3,10 @@ Commit log
**********************************************************************
.. automethod:: pygit2.Repository.walk
.. automethod:: pygit2.Walker.hide
.. automethod:: pygit2.Walker.push
.. automethod:: pygit2.Walker.reset
.. automethod:: pygit2.Walker.sort
.. automethod:: pygit2.Walker.simplify_first_parent

View File

@ -300,6 +300,7 @@ moduleinit(PyObject* m)
* Log
*/
INIT_TYPE(WalkerType, NULL, PyType_GenericNew)
ADD_TYPE(m, Walker);
ADD_CONSTANT_INT(m, GIT_SORT_NONE)
ADD_CONSTANT_INT(m, GIT_SORT_TOPOLOGICAL)
ADD_CONSTANT_INT(m, GIT_SORT_TIME)