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

Function Repository_free

src/repository.c:2089–2096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2087 "Releases handles to the Git database without deallocating the repository.\n");
2088
2089PyObject *
2090Repository_free(Repository *self)
2091{
2092 if (self->owned)
2093 git_repository__cleanup(self->repo);
2094
2095 Py_RETURN_NONE;
2096}
2097
2098PyDoc_STRVAR(Repository_expand_id__doc__,
2099 "expand_id(hex: str) -> Oid\n"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…