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

Function Repository_head_is_unborn__get__

src/repository.c:249–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 "refs namespace, because it doesn't have any commit to point to.");
248
249PyObject *
250Repository_head_is_unborn__get__(Repository *self)
251{
252 if (git_repository_head_unborn(self->repo) > 0)
253 Py_RETURN_TRUE;
254
255 Py_RETURN_FALSE;
256}
257
258
259PyDoc_STRVAR(Repository_is_empty__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…