| 300 | } |
| 301 | |
| 302 | static int |
| 303 | OdbBackend_build_as_iter(const git_oid *oid, void *accum) |
| 304 | { |
| 305 | int err; |
| 306 | |
| 307 | PyObject *py_oid = git_oid_to_python(oid); |
| 308 | if (py_oid == NULL) |
| 309 | return GIT_EUSER; |
| 310 | |
| 311 | err = PyList_Append((PyObject*)accum, py_oid); |
| 312 | Py_DECREF(py_oid); |
| 313 | |
| 314 | if (err < 0) |
| 315 | return GIT_EUSER; |
| 316 | |
| 317 | return 0; |
| 318 | } |
| 319 | |
| 320 | PyObject * |
| 321 | OdbBackend_as_iter(OdbBackend *self) |
nothing calls this directly
no test coverage detected
searching dependent graphs…