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

Function Oid_hash

src/oid.c:192–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190
191
192Py_hash_t
193Oid_hash(PyObject *oid)
194{
195 PyObject *py_oid = git_oid_to_py_str(&((Oid *)oid)->oid);
196 Py_hash_t ret = PyObject_Hash(py_oid);
197 Py_DECREF(py_oid);
198 return ret;
199}
200
201
202PyObject *

Callers

nothing calls this directly

Calls 1

git_oid_to_py_strFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…