Diff.tree_to_workdir


Description:

[ CCode ( has_construct_function = false ) ]
public Diff.tree_to_workdir (Repository repository, Tree? old_tree, DiffOptions? diff_options) throws Error

Creates a Diff which compares the working directory and old_tree.

If diff_options is null then the defaults specified in DiffOptions are used.

Parameters:

repository

a Repository.

old_tree

a Tree to diff from.

diff_options

a DiffOptions, or null.

Returns:

a newly allocated Diff if there was no error, null otherwise.




2022 vala-language.org