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

Function Reference_shorthand__get__

src/reference.c:412–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410 "The shorthand \"human-readable\" name of the reference.");
411
412PyObject *
413Reference_shorthand__get__(Reference *self)
414{
415 CHECK_REFERENCE(self);
416 return PyUnicode_DecodeFSDefault(git_reference_shorthand(self->reference));
417}
418
419PyDoc_STRVAR(Reference_raw_shorthand__doc__,
420 "The shorthand \"human-readable\" name of the reference (Bytes).");

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…