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

Function Repository_clear

src/repository.c:201–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201int
202Repository_clear(Repository *self)
203{
204 Py_CLEAR(self->index);
205 return 0;
206}
207
208
209PyDoc_STRVAR(Repository_head__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…