| 84 | PyTypeObject RepositoryType; |
| 85 | |
| 86 | PyObject * |
| 87 | wrap_repository(git_repository *c_repo) |
| 88 | { |
| 89 | Repository *py_repo = PyObject_GC_New(Repository, &RepositoryType); |
| 90 | |
| 91 | if (py_repo) { |
| 92 | py_repo->repo = c_repo; |
| 93 | py_repo->config = NULL; |
| 94 | py_repo->index = NULL; |
| 95 | py_repo->owned = 1; |
| 96 | } |
| 97 | |
| 98 | return (PyObject *)py_repo; |
| 99 | } |
| 100 | |
| 101 | int |
| 102 | Repository_init(Repository *self, PyObject *args, PyObject *kwds) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…