| 1512 | "Return a list with all submodule paths in the repository.\n"); |
| 1513 | |
| 1514 | static int foreach_path_cb(git_submodule *submodule, const char *name, void *payload) |
| 1515 | { |
| 1516 | PyObject *list = (PyObject *)payload; |
| 1517 | PyObject *path = to_unicode(git_submodule_path(submodule), NULL, NULL); |
| 1518 | |
| 1519 | int err = PyList_Append(list, path); |
| 1520 | Py_DECREF(path); |
| 1521 | return err; |
| 1522 | } |
| 1523 | |
| 1524 | PyObject * |
| 1525 | Repository_listall_submodules(Repository *self, PyObject *args) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…