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

Function OdbBackend_dealloc

src/odb_backend.c:291–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291void
292OdbBackend_dealloc(OdbBackend *self)
293{
294 if (self->odb_backend && self->odb_backend->read == pgit_odb_backend_read) {
295 pgit_odb_backend *custom_backend = (pgit_odb_backend *)self->odb_backend;
296 free(custom_backend);
297 }
298
299 Py_TYPE(self)->tp_free((PyObject *) self);
300}
301
302static int
303OdbBackend_build_as_iter(const git_oid *oid, void *accum)

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…