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

Function Repository_is_bare__get__

src/repository.c:275–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273 "Check if a repository is a bare repository.");
274
275PyObject *
276Repository_is_bare__get__(Repository *self)
277{
278 if (git_repository_is_bare(self->repo) > 0)
279 Py_RETURN_TRUE;
280
281 Py_RETURN_FALSE;
282}
283
284
285PyDoc_STRVAR(Repository_is_shallow__doc__,

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…