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

Function Repository_set_refdb

src/repository.c:2313–2321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2311 "This is a low-level function, most users won't need it.\n");
2312
2313PyObject *
2314Repository_set_refdb(Repository *self, Refdb *refdb)
2315{
2316 int err;
2317 err = git_repository_set_refdb(self->repo, refdb->refdb);
2318 if (err < 0)
2319 return Error_set(err);
2320 Py_RETURN_NONE;
2321}
2322
2323static int foreach_stash_cb(size_t index, const char *message, const git_oid *stash_id, void *payload)
2324{

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…