MCPcopy Create free account
hub / github.com/libgit2/pygit2 / Repository_set_odb

Function Repository_set_odb

src/repository.c:2297–2305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2295 "This is a low-level function, most users won't need it.\n");
2296
2297PyObject *
2298Repository_set_odb(Repository *self, Odb *odb)
2299{
2300 int err;
2301 err = git_repository_set_odb(self->repo, odb->odb);
2302 if (err < 0)
2303 return Error_set(err);
2304 Py_RETURN_NONE;
2305}
2306
2307PyDoc_STRVAR(Repository_set_refdb__doc__,
2308 "set_refdb(refdb: Refdb)\n"

Callers

nothing calls this directly

Calls 1

Error_setFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…