MCPcopy Create free account
hub / github.com/libgit2/pygit2 / Repository_dealloc

Function Repository_dealloc

src/repository.c:181–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void
182Repository_dealloc(Repository *self)
183{
184 PyObject_GC_UnTrack(self);
185 Py_CLEAR(self->index);
186 Py_CLEAR(self->config);
187
188 if (self->owned)
189 git_repository_free(self->repo);
190
191 Py_TYPE(self)->tp_free(self);
192}
193
194int
195Repository_traverse(Repository *self, visitproc visit, void *arg)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…