| 359 | "Check if a path is ignored in the repository."); |
| 360 | |
| 361 | PyObject * |
| 362 | Repository_path_is_ignored(Repository *self, PyObject *args) |
| 363 | { |
| 364 | int ignored; |
| 365 | char *path; |
| 366 | |
| 367 | if (!PyArg_ParseTuple(args, "s", &path)) |
| 368 | return NULL; |
| 369 | |
| 370 | git_ignore_path_is_ignored(&ignored, self->repo, path); |
| 371 | if (ignored == 1) |
| 372 | Py_RETURN_TRUE; |
| 373 | |
| 374 | Py_RETURN_FALSE; |
| 375 | } |
| 376 | |
| 377 | |
| 378 | PyDoc_STRVAR(Repository_revparse_single__doc__, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…