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

Function get_passthrough

src/filter.c:395–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395static PyObject * get_passthrough()
396{
397 PyObject *py_passthrough;
398 PyObject *py_errors = PyImport_ImportModule("pygit2.errors");
399 if (py_errors == NULL)
400 return NULL;
401 py_passthrough = PyObject_GetAttrString(py_errors, "Passthrough");
402 Py_DECREF(py_errors);
403 return py_passthrough;
404}
405
406int pygit2_filter_check(
407 git_filter *self, void **payload, const git_filter_source *src, const char **attr_values)

Callers 1

pygit2_filter_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…