| 141 | PyDoc_STRVAR(Object_name__doc__, |
| 142 | "Name (or None if the object was not reached through a tree)"); |
| 143 | PyObject * |
| 144 | Object_name__get__(Object *self) |
| 145 | { |
| 146 | if (self->entry == NULL) |
| 147 | Py_RETURN_NONE; |
| 148 | |
| 149 | return PyUnicode_DecodeFSDefault(git_tree_entry_name(self->entry)); |
| 150 | } |
| 151 | |
| 152 | PyDoc_STRVAR(Object_raw_name__doc__, "Name (bytes)."); |
| 153 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…