]>
git.proxmox.com Git - libgit2.git/blob - src/diff_tform.h
2 * Copyright (C) the libgit2 contributors. All rights reserved.
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
7 #ifndef INCLUDE_diff_tform_h__
8 #define INCLUDE_diff_tform_h__
12 #include "diff_file.h"
14 extern int git_diff_find_similar__hashsig_for_file(
15 void **out
, const git_diff_file
*f
, const char *path
, void *p
);
17 extern int git_diff_find_similar__hashsig_for_buf(
18 void **out
, const git_diff_file
*f
, const char *buf
, size_t len
, void *p
);
20 extern void git_diff_find_similar__hashsig_free(void *sig
, void *payload
);
22 extern int git_diff_find_similar__calc_similarity(
23 int *score
, void *siga
, void *sigb
, void *payload
);