| 467 | "The normalized path to the git repository."); |
| 468 | |
| 469 | PyObject * |
| 470 | Repository_path__get__(Repository *self, void *closure) |
| 471 | { |
| 472 | const char *c_path; |
| 473 | if (self->repo == NULL) |
| 474 | Py_RETURN_NONE; |
| 475 | |
| 476 | c_path = git_repository_path(self->repo); |
| 477 | if (c_path == NULL) |
| 478 | Py_RETURN_NONE; |
| 479 | |
| 480 | return PyUnicode_DecodeFSDefault(c_path); |
| 481 | } |
| 482 | |
| 483 | |
| 484 | PyDoc_STRVAR(Repository_workdir__doc__, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…