Top |
OstreeDiffItem * | ostree_diff_item_ref () |
void | ostree_diff_item_unref () |
gboolean | ostree_diff_dirs () |
gboolean | ostree_diff_dirs_with_options () |
void | ostree_diff_print () |
gboolean ostree_diff_dirs (OstreeDiffFlags flags
,GFile *a
,GFile *b
,GPtrArray *modified
,GPtrArray *removed
,GPtrArray *added
,GCancellable *cancellable
,GError **error
);
Compute the difference between directory a
and b
as 3 separate
sets of OstreeDiffItem in modified
, removed
, and added
.
flags |
Flags |
|
a |
First directory path, or |
|
b |
First directory path |
|
modified |
Modified files. |
[element-type OstreeDiffItem] |
removed |
Removed files. |
[element-type Gio.File] |
added |
Added files. |
[element-type Gio.File] |
cancellable |
Cancellable |
|
error |
Error |
gboolean ostree_diff_dirs_with_options (OstreeDiffFlags flags
,GFile *a
,GFile *b
,GPtrArray *modified
,GPtrArray *removed
,GPtrArray *added
,OstreeDiffDirsOptions *options
,GCancellable *cancellable
,GError **error
);
Compute the difference between directory a
and b
as 3 separate
sets of OstreeDiffItem in modified
, removed
, and added
.
flags |
Flags |
|
a |
First directory path, or |
|
b |
First directory path |
|
modified |
Modified files. |
[element-type OstreeDiffItem] |
removed |
Removed files. |
[element-type Gio.File] |
added |
Added files. |
[element-type Gio.File] |
cancellable |
Cancellable |
|
options |
Options. |
[allow-none] |
error |
Error |
Since: 2017.4
void ostree_diff_print (GFile *a
,GFile *b
,GPtrArray *modified
,GPtrArray *removed
,GPtrArray *added
);
Print the contents of a diff to stdout.
a |
First directory path |
|
b |
First directory path |
|
modified |
Modified files. |
[element-type OstreeDiffItem] |
removed |
Removed files. |
[element-type Gio.File] |
added |
Added files. |
[element-type Gio.File] |