DiffHunk
Object Hierarchy:
Description:
[ CCode ( ref_function = "ggit_diff_hunk_ref" , type_id = "ggit_diff_hunk_get_type ()" , unref_function = "ggit_diff_hunk_unref" ) ]
[ Compact ]
public class DiffHunk
Represents the hunk of a diff.
Content:
Methods:
- public unowned DiffHunk? @ref ()
Atomically increments the reference count of this
by one.
- public unowned string get_header ()
- public int get_new_lines ()
Gets the number of lines in the new file.
- public int get_new_start ()
Gets the starting line number in the new file.
- public int get_old_lines ()
Gets the number of lines in the old file.
- public int get_old_start ()
Gets the starting line number in the old file.
- public void unref ()
Atomically decrements the reference count of this
by one.