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

Function Repository_is_empty__get__

src/repository.c:262–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 "Check if a repository is empty.");
261
262PyObject *
263Repository_is_empty__get__(Repository *self)
264{
265 if (git_repository_is_empty(self->repo) > 0)
266 Py_RETURN_TRUE;
267
268 Py_RETURN_FALSE;
269}
270
271
272PyDoc_STRVAR(Repository_is_bare__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…