Ggit.DiffSimilarityMetric

Fields

None

Methods

class

new (file_signature, buffer_signature, free_signature, similarity, *user_data)

copy ()

free ()

Details

class Ggit.DiffSimilarityMetric

Represents a similarity metric.

classmethod new(file_signature, buffer_signature, free_signature, similarity, *user_data)
Parameters:
Returns:

a newly allocated Ggit.DiffSimilarityMetric.

Return type:

Ggit.DiffSimilarityMetric

Creates a new Ggit.DiffSimilarityMetric.

copy()
Returns:

a newly allocated Ggit.DiffSimilarityMetric or None.

Return type:

Ggit.DiffSimilarityMetric or None

Copies self into a newly allocated Ggit.DiffSimilarityMetric.

free()

Frees self.