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

Function Oid_raw__get__

src/oid.c:269–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267PyDoc_STRVAR(Oid_raw__doc__, "Raw oid, a 20 bytes string.");
268
269PyObject *
270Oid_raw__get__(Oid *self)
271{
272 return PyBytes_FromStringAndSize((const char*)self->oid.id, GIT_OID_RAWSZ);
273}
274
275
276PyGetSetDef Oid_getseters[] = {

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…