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

Function Object_raw_name__get__

src/object.c:154–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152PyDoc_STRVAR(Object_raw_name__doc__, "Name (bytes).");
153
154PyObject *
155Object_raw_name__get__(Object *self)
156{
157 if (self->entry == NULL)
158 Py_RETURN_NONE;
159
160 return PyBytes_FromString(git_tree_entry_name(self->entry));
161}
162
163PyDoc_STRVAR(Object_filemode__doc__,
164 "An enums.FileMode constant (or None if the object was not reached through a tree)");

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…