kousu opened this issue 2 years ago · 0 comments
I broke encapsulation in
https://github.com/neuropoly/gitea/blob/0901a8cadf1da063c774465a888d6e019e60cfc5/modules/git/tree_entry.go#L13-L15
for use here
https://github.com/neuropoly/gitea/blob/0901a8cadf1da063c774465a888d6e019e60cfc5/modules/annex/annex.go#L116
But I have discovered there are
https://github.com/neuropoly/gitea/blob/0901a8cadf1da063c774465a888d6e019e60cfc5/models/repo/repo.go#L488-L496
which should be able to achieve the same thing. Perhaps.