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

Function wrap_odb

src/odb.c:475–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473};
474
475PyObject *
476wrap_odb(git_odb *c_odb)
477{
478 Odb *py_odb = PyObject_New(Odb, &OdbType);
479
480 if (py_odb)
481 py_odb->odb = c_odb;
482
483 return (PyObject *)py_odb;
484}

Callers 1

Repository_odb__get__Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…