| 67 | "Sets a custom RefdbBackend for this Refdb."); |
| 68 | |
| 69 | PyObject * |
| 70 | Refdb_set_backend(Refdb *self, RefdbBackend *backend) |
| 71 | { |
| 72 | int err; |
| 73 | err = git_refdb_set_backend(self->refdb, backend->refdb_backend); |
| 74 | if (err != 0) |
| 75 | return Error_set(err); |
| 76 | Py_RETURN_NONE; |
| 77 | } |
| 78 | |
| 79 | PyDoc_STRVAR(Refdb_new__doc__, "Refdb.new(repo: Repository) -> Refdb\n" |
| 80 | "Creates a new refdb with no backend."); |
nothing calls this directly
no test coverage detected
searching dependent graphs…