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

Function Reference_target__get__

src/reference.c:291–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 "reference.\n");
290
291PyObject *
292Reference_target__get__(Reference *self)
293{
294 const char * c_name = NULL;
295 PyObject * ret;
296
297 ret = Reference_target_impl(self, &c_name);
298 if (ret != NULL)
299 return ret;
300 if (c_name != NULL)
301 return PyUnicode_DecodeFSDefault(c_name);
302 return NULL;
303}
304
305
306PyDoc_STRVAR(Reference_raw_target__doc__,

Callers

nothing calls this directly

Calls 1

Reference_target_implFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…