mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-28 00:16:01 +08:00

* Calculate hash only once. * remove unused Sha1 template helper function, use ctx.Data["FileNameHash"] * fix unit tests
* Calculate hash only once. * remove unused Sha1 template helper function, use ctx.Data["FileNameHash"] * fix unit tests