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

Function Reference_name__get__

src/reference.c:393–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391PyDoc_STRVAR(Reference_name__doc__, "The full name of the reference.");
392
393PyObject *
394Reference_name__get__(Reference *self)
395{
396 CHECK_REFERENCE(self);
397 return PyUnicode_DecodeFSDefault(git_reference_name(self->reference));
398}
399
400PyDoc_STRVAR(Reference_raw_name__doc__, "The full name of the reference (Bytes).");
401

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…