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

Function Reference_raw_name__get__

src/reference.c:402–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400PyDoc_STRVAR(Reference_raw_name__doc__, "The full name of the reference (Bytes).");
401
402PyObject *
403Reference_raw_name__get__(Reference *self)
404{
405 CHECK_REFERENCE(self);
406 return PyBytes_FromString(git_reference_name(self->reference));
407}
408
409PyDoc_STRVAR(Reference_shorthand__doc__,
410 "The shorthand \"human-readable\" name of the reference.");

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…