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

Function Reference_raw_shorthand__get__

src/reference.c:422–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420 "The shorthand \"human-readable\" name of the reference (Bytes).");
421
422PyObject *
423Reference_raw_shorthand__get__(Reference *self)
424{
425 CHECK_REFERENCE(self);
426 return PyBytes_FromString(git_reference_shorthand(self->reference));
427}
428
429PyDoc_STRVAR(Reference_type__doc__,
430 "An enums.ReferenceType constant (either OID or SYMBOLIC).");

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…