| 135 | "The name of the local or remote branch."); |
| 136 | |
| 137 | PyObject * |
| 138 | Branch_branch_name__get__(Branch *self) |
| 139 | { |
| 140 | int err; |
| 141 | const char *c_name; |
| 142 | |
| 143 | CHECK_REFERENCE(self); |
| 144 | |
| 145 | err = git_branch_name(&c_name, self->reference); |
| 146 | if (err == GIT_OK) |
| 147 | return to_unicode(c_name, NULL, NULL); |
| 148 | else |
| 149 | return Error_set(err); |
| 150 | } |
| 151 | |
| 152 | PyDoc_STRVAR(Branch_raw_branch_name__doc__, |
| 153 | "The name of the local or remote branch (bytes)."); |
nothing calls this directly
no test coverage detected
searching dependent graphs…