DiffSimilarityMetric


Description:

[ CCode ( has_construct_function = false ) ]
public DiffSimilarityMetric (DiffSimilarityMetricFileSignatureCallback file_signature, DiffSimilarityMetricBufferSignatureCallback buffer_signature, DiffSimilarityMetricFreeSignatureCallback free_signature, DiffSimilarityMetricSimilarityCallback similarity)

Creates a new DiffSimilarityMetric.

Parameters:

file_signature

a GgitDiffSimilarityMetricFileSignature.

buffer_signature

a GgitDiffSimilarityMetricBufferSignature.

free_signature

a GgitDiffSimilarityMetricFreeSignature.

similarity

a GgitDiffSimilarityMetricSimilarity.

user_data

passed as user_data to the previous parameters.

Returns:

a newly allocated DiffSimilarityMetric.