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

Function Repository_is_shallow__get__

src/repository.c:288–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286 "Check if a repository is a shallow repository.");
287
288PyObject *
289Repository_is_shallow__get__(Repository *self)
290{
291 if (git_repository_is_shallow(self->repo) > 0)
292 Py_RETURN_TRUE;
293
294 Py_RETURN_FALSE;
295}
296
297
298PyDoc_STRVAR(Repository_git_object_lookup_prefix__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…