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

Function Tree_divide

src/tree.c:198–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198PyObject *
199Tree_divide(Tree *self, PyObject *value)
200{
201 if (Object__load((Object*)self) == NULL) { return NULL; } // Lazy load
202 return tree_getentry_by_path(self->tree, self->repo, value);
203}
204
205
206PyDoc_STRVAR(Tree_diff_to_workdir__doc__,

Callers

nothing calls this directly

Calls 2

Object__loadFunction · 0.85
tree_getentry_by_pathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…