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

Function git_oid_to_py_str

src/oid.c:136–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136PyObject *
137git_oid_to_py_str(const git_oid *oid)
138{
139 char hex[GIT_OID_HEXSZ];
140
141 git_oid_fmt(hex, oid);
142 return to_unicode_n(hex, GIT_OID_HEXSZ, "utf-8", "strict");
143}
144
145
146int

Callers 3

Oid_hashFunction · 0.85
Oid__str__Function · 0.85
Object_hashFunction · 0.85

Calls 1

to_unicode_nFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…