diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2013-04-30 14:56:41 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2013-04-30 16:01:11 -0500 |
| commit | 0462fba538b380551cbd5d8c05281352ba7a7471 (patch) | |
| tree | ea9c353de8f20b0ed68fb0cf3c747677d876b9fe /src/diff.h | |
| parent | bec65a5e994bc4701216c9ca2c7dae83770b3edc (diff) | |
| download | libgit2-0462fba538b380551cbd5d8c05281352ba7a7471.tar.gz | |
renames!
Diffstat (limited to 'src/diff.h')
| -rw-r--r-- | src/diff.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/diff.h b/src/diff.h index 8e3cbcd46..48e20d1e3 100644 --- a/src/diff.h +++ b/src/diff.h @@ -74,5 +74,17 @@ extern int git_diff__from_iterators( git_iterator *new_iter, const git_diff_options *opts); +int git_diff_find_similar__hashsig_for_file( + void **out, const git_diff_file *f, const char *path, void *p); + +int git_diff_find_similar__hashsig_for_buf( + void **out, const git_diff_file *f, const char *buf, size_t len, void *p); + +void git_diff_find_similar__hashsig_free(void *sig, void *payload); + +int git_diff_find_similar__calc_similarity( + int *score, void *siga, void *sigb, void *payload); + + #endif |
