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

Function Worktree_is_prunable__get__

src/worktree.c:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53PyDoc_STRVAR(Worktree_is_prunable__doc__,
54 "Is the worktree prunable with the given set of flags?\n");
55PyObject *
56Worktree_is_prunable__get__(Worktree *self, PyObject *args)
57{
58 if (git_worktree_is_prunable(self->worktree, 0) > 0)
59 Py_RETURN_TRUE;
60
61 Py_RETURN_FALSE;
62}
63
64PyDoc_STRVAR(Worktree_prune__doc__,
65 "prune(force=False)\n"

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…