| 259 | "the same."); |
| 260 | |
| 261 | PyObject * |
| 262 | tree_entry_cmp(PyObject *self, PyObject *args) |
| 263 | { |
| 264 | Object *a, *b; |
| 265 | int cmp; |
| 266 | |
| 267 | if (!PyArg_ParseTuple(args, "O!O!", &ObjectType, &a, &ObjectType, &b)) |
| 268 | return NULL; |
| 269 | |
| 270 | if (a->entry == NULL || b->entry == NULL) { |
| 271 | PyErr_SetString(PyExc_ValueError, "objects lack entry information"); |
| 272 | return NULL; |
| 273 | } |
| 274 | |
| 275 | cmp = git_tree_entry_cmp(a->entry, b->entry); |
| 276 | return PyLong_FromLong(cmp); |
| 277 | } |
| 278 | |
| 279 | PyDoc_STRVAR(filter_register__doc__, |
| 280 | "filter_register(name: str, filter_cls: Type[Filter], [priority: int = C.GIT_FILTER_DRIVER_PRIORITY]) -> None\n" |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…