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

Function Walker_hide

src/walker.c:53–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 "Mark a commit (and its ancestors) uninteresting for the output.");
52
53PyObject *
54Walker_hide(Walker *self, PyObject *py_hex)
55{
56 int err;
57 git_oid oid;
58
59 err = py_oid_to_git_oid_expand(self->repo->repo, py_hex, &oid);
60 if (err < 0)
61 return NULL;
62
63 err = git_revwalk_hide(self->walk, &oid);
64 if (err < 0)
65 return Error_set(err);
66
67 Py_RETURN_NONE;
68}
69
70
71PyDoc_STRVAR(Walker_push__doc__,

Callers

nothing calls this directly

Calls 2

py_oid_to_git_oid_expandFunction · 0.85
Error_setFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…