libgit2sharp
libgit2sharp copied to clipboard
[Question] Find Files by Hash
Hi, I've tried to search but can't find anything.
I would like to avoid duplicate files with different names. To do this. I would like to search the repository if there is a file with the specified hash of.
- it's possible? How can I do?
- Do you have alternative solutions?
Best regards.
P.S. Why didn't you open the discussion on GitHub? false problems like this would be avoided.
I found exits https://git-scm.com/docs/git-hash-object. How do it in libgit2sharp?