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

Function Repository_refdb__get__

src/repository.c:1931–1942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1929PyDoc_STRVAR(Repository_refdb__doc__, "Return the reference database for this repository");
1930
1931PyObject *
1932Repository_refdb__get__(Repository *self)
1933{
1934 git_refdb *refdb;
1935 int err;
1936
1937 err = git_repository_refdb(&refdb, self->repo);
1938 if (err < 0)
1939 return Error_set(err);
1940
1941 return wrap_refdb(refdb);
1942}
1943
1944PyDoc_STRVAR(Repository__pointer__doc__, "Get the repo's pointer. For internal use only.");
1945PyObject *

Callers

nothing calls this directly

Calls 2

Error_setFunction · 0.85
wrap_refdbFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…