libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

[Question] Find Files by Hash

Open workgroupengineering opened this issue 2 years ago • 1 comments

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.

workgroupengineering avatar Jun 26 '23 12:06 workgroupengineering

I found exits https://git-scm.com/docs/git-hash-object. How do it in libgit2sharp?

workgroupengineering avatar Apr 11 '24 17:04 workgroupengineering