libgit2

patch

Version:
Patch handling routines.

Objects

The diff patch is used to store all the text diffs for a delta

Functions

Return the diff delta and patch for an entry in the diff list

Directly generate a patch from the difference between two blobs

Directly generate a patch from the difference between a blob and a buffer

Directly generate a patch from the difference between two buffers

Free a git_patch object

Get the delta associated with a patch

Get the number of hunks in a patch

Get line counts of each type in a patch

Get the information about a hunk in a patch

Get the number of lines in a hunk

Get data about a line in a hunk of a patch

Look up size of patch diff data in bytes

Serialize the patch to text via callback

Get the content of a patch as a single diff text