libgit2_d.sys.hashsig

Undocumented in source.

Members

Enums

git_hashsig_option_t
enum git_hashsig_option_t

Options for hashsig computation

Functions

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

Measure similarity score between two similarity signatures

git_hashsig_create
int git_hashsig_create(.git_hashsig** out_, const(char)* buf, size_t buflen, .git_hashsig_option_t opts)

Compute a similarity signature for a text buffer

git_hashsig_create_fromfile
int git_hashsig_create_fromfile(.git_hashsig** out_, const(char)* path, .git_hashsig_option_t opts)

Compute a similarity signature for a text file

git_hashsig_free
void git_hashsig_free(.git_hashsig* sig)

Release memory for a content similarity signature

Structs

git_hashsig
struct git_hashsig

Similarity signature of arbitrary text content based on line hashes

Meta