libgit2

git_hashsig_compare

Version:

Measure similarity score between two similarity signatures

Signature

int git_hashsig_compare(const git_hashsig *a, const git_hashsig *b);

Parameters

In
a

The first similarity signature to compare.

In
b

The second similarity signature to compare.

Returns

int

[0 to 100] on success as the similarity score, or error code.

Versions