Class
GgitDiff
since: 1.0
Description [src]
class Ggit.Diff : Ggit.Native
{
/* No available fields */
}
Represents a diff list.
Available since: 1.0
Constructors
ggit_diff_new_buffers
Same as ggit_diff_blobs()
but using a buffers.
Creates a GgitDiff
which compares buffer1
and buffer2
.
since: 1.0
ggit_diff_new_index_to_workdir
Creates a GgitDiff
which compares the working directory and the index.
since: 1.0
ggit_diff_new_tree_to_workdir
Creates a GgitDiff
which compares the working directory and old_tree
.
since: 1.0
Instance methods
ggit_diff_find_similar
Transform diff
marking file renames, copies, etc.. If options
is set to
NULL
, then the default options will be used.
since: 1.0
ggit_diff_foreach
Iterates over the diff calling file_cb
, binary_cb
, hunk_cb
and line_cb
.
since: 1.0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
unstable since: 2.0