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

Function Diff_patchid__get__

src/diff.c:666–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664 "Corresponding patchid.");
665
666PyObject *
667Diff_patchid__get__(Diff *self)
668{
669 git_oid oid;
670 int err;
671
672 err = git_diff_patchid(&oid, self->diff, NULL);
673 if (err < 0)
674 return Error_set(err);
675 return git_oid_to_python(&oid);
676}
677
678
679PyDoc_STRVAR(Diff_deltas__doc__, "Iterate over the diff deltas.");

Callers

nothing calls this directly

Calls 2

Error_setFunction · 0.85
git_oid_to_pythonFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…