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

Function Patch_delta__get__

src/patch.c:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73PyDoc_STRVAR(Patch_delta__doc__, "Get the delta associated with a patch.");
74
75PyObject *
76Patch_delta__get__(Patch *self)
77{
78 assert(self->patch);
79 return wrap_diff_delta(git_patch_get_delta(self->patch));
80}
81
82PyDoc_STRVAR(Patch_line_stats__doc__,
83 "Get line counts of each type in a patch (context, additions, deletions).");

Callers

nothing calls this directly

Calls 1

wrap_diff_deltaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…