Diff.tree_to_tree


Description:

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

Creates a Diff which compares old_tree and new_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.

new_tree

a Tree to diff to.

diff_options

a DiffOptions, or null.

Returns:

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