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

Function Reference__pointer__get__

src/reference.c:445–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443PyDoc_STRVAR(Reference__pointer__doc__, "Get the reference's pointer. For internal use only.");
444
445PyObject *
446Reference__pointer__get__(Reference *self)
447{
448 /* Bytes means a raw buffer */
449 return PyBytes_FromStringAndSize((char *) &self->reference, sizeof(git_reference *));
450}
451
452PyDoc_STRVAR(Reference_log__doc__,
453 "log() -> RefLogIter\n"

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…