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

Function Oid__bool

src/oid.c:260–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260int
261Oid__bool(PyObject *self)
262{
263 git_oid *oid = &((Oid*)self)->oid;
264 return !git_oid_equal(oid, &oid_zero);
265}
266
267PyDoc_STRVAR(Oid_raw__doc__, "Raw oid, a 20 bytes string.");
268

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…