| 153 | "The name of the local or remote branch (bytes)."); |
| 154 | |
| 155 | PyObject * |
| 156 | Branch_raw_branch_name__get__(Branch *self) |
| 157 | { |
| 158 | int err; |
| 159 | const char *c_name; |
| 160 | |
| 161 | CHECK_REFERENCE(self); |
| 162 | |
| 163 | err = git_branch_name(&c_name, self->reference); |
| 164 | if (err == GIT_OK) |
| 165 | return PyBytes_FromString(c_name); |
| 166 | else |
| 167 | return Error_set(err); |
| 168 | } |
| 169 | |
| 170 | PyDoc_STRVAR(Branch_remote_name__doc__, |
| 171 | "Find the remote name of a remote-tracking branch.\n" |
nothing calls this directly
no test coverage detected
searching dependent graphs…