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

Function Reference_init_symbolic

src/reference.c:132–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 "expected in other contexts.\n");
131
132static int
133Reference_init_symbolic(Reference *self, PyObject *args, PyObject *kwds)
134{
135 const char *name, *target;
136 if (!PyArg_ParseTuple(args, "ss", &name, &target)) {
137 return -1;
138 }
139 self->reference = git_reference__alloc_symbolic(name, target);
140 return 0;
141}
142
143int
144Reference_init(Reference *self, PyObject *args, PyObject *kwds)

Callers 1

Reference_initFunction · 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…