Struct
GgitPatch
Constructors
ggit_patch_new_from_diff
The GgitPatch is a newly created object contains the text diffs
for the delta. You have to call ggit_patch_unref() when you are
done with it. You can use the patch object to loop over all the hunks
and lines in the diff of the one delta.
Instance methods
ggit_patch_ref
Atomically increments the reference count of patch by one.
This function is MT-safe and may be called from any thread.
ggit_patch_unref
Atomically decrements the reference count of patch by one.
If the reference count drops to 0, patch is freed.