| 97 | "Change the sorting mode (this resets the walker)."); |
| 98 | |
| 99 | PyObject * |
| 100 | Walker_sort(Walker *self, PyObject *py_sort_mode) |
| 101 | { |
| 102 | long sort_mode; |
| 103 | |
| 104 | sort_mode = PyLong_AsLong(py_sort_mode); |
| 105 | if (sort_mode == -1 && PyErr_Occurred()) |
| 106 | return NULL; |
| 107 | |
| 108 | git_revwalk_sorting(self->walk, (unsigned int)sort_mode); |
| 109 | |
| 110 | Py_RETURN_NONE; |
| 111 | } |
| 112 | |
| 113 | |
| 114 | PyDoc_STRVAR(Walker_reset__doc__, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…