mirror of
https://git.proxmox.com/git/libgit2
synced 2026-08-02 22:19:29 +00:00
This moves the similarity metric code out of buf_text and into a new file. Also, this implements a different approach to similarity measurement based on a Rabin-Karp rolling hash where we only keep the top 100 and bottom 100 hashes. In theory, that should be sufficient samples to given a fairly accurate measurement while limiting the amount of data we keep for file signatures no matter how large the file is. |
||
|---|---|---|
| .. | ||
| buffer.c | ||
| copy.c | ||
| dirent.c | ||
| env.c | ||
| errors.c | ||
| filebuf.c | ||
| hex.c | ||
| mkdir.c | ||
| oid.c | ||
| opts.c | ||
| path.c | ||
| pool.c | ||
| rmdir.c | ||
| stat.c | ||
| string.c | ||
| strmap.c | ||
| strtol.c | ||
| vector.c | ||