| 141 | "are checked. Writing is disabled on alternate backends.\n"); |
| 142 | |
| 143 | PyObject * |
| 144 | Odb_add_disk_alternate(Odb *self, PyObject *py_path) |
| 145 | { |
| 146 | PyObject *tvalue; |
| 147 | char *path = pgit_borrow_fsdefault(py_path, &tvalue); |
| 148 | if (path == NULL) |
| 149 | return NULL; |
| 150 | |
| 151 | int err = git_odb_add_disk_alternate(self->odb, path); |
| 152 | Py_DECREF(tvalue); |
| 153 | if (err) |
| 154 | return Error_set(err); |
| 155 | |
| 156 | Py_RETURN_NONE; |
| 157 | } |
| 158 | |
| 159 | git_odb_object * |
| 160 | Odb_read_raw(git_odb *odb, const git_oid *oid, size_t len) |
nothing calls this directly
no test coverage detected
searching dependent graphs…