| 95 | } |
| 96 | |
| 97 | static int |
| 98 | Odb_build_as_iter(const git_oid *oid, void *accum) |
| 99 | { |
| 100 | int err; |
| 101 | PyObject *py_oid = git_oid_to_python(oid); |
| 102 | if (py_oid == NULL) |
| 103 | return GIT_EUSER; |
| 104 | |
| 105 | err = PyList_Append((PyObject*)accum, py_oid); |
| 106 | Py_DECREF(py_oid); |
| 107 | if (err < 0) |
| 108 | return GIT_EUSER; |
| 109 | |
| 110 | return 0; |
| 111 | } |
| 112 | |
| 113 | PyObject * |
| 114 | Odb_as_iter(Odb *self) |
nothing calls this directly
no test coverage detected
searching dependent graphs…