libgit2

git_patch_get_delta

Version:

Get the delta associated with a patch. This delta points to internal data and you do not have to release it when you are done with it.

Signature

const git_diff_delta *git_patch_get_delta(const git_patch *patch);

Parameters

In
patch

The patch in which to get the delta.

Returns

The delta associated with the patch.

Versions