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

Function wrap_refdb

src/refdb.c:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177};
178
179PyObject *
180wrap_refdb(git_refdb *c_refdb)
181{
182 Refdb *py_refdb = PyObject_New(Refdb, &RefdbType);
183
184 if (py_refdb)
185 py_refdb->refdb = c_refdb;
186
187 return (PyObject *)py_refdb;
188}

Callers 3

Repository_refdb__get__Function · 0.85
Refdb_newFunction · 0.85
Refdb_openFunction · 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…